#💻┃unity-talk

1 messages · Page 56 of 1

young niche
#

do you know answer to my question too?

copper pelican
#

Thank you!

craggy pollen
#

what is the reaosn you are not going the recommended way and simply let unity built for you

young niche
#

no, it is already built

#

but then its an .exe file

#

im trying to put in into a compressed installer

#

so the file before is smaller

#

I'm just following a guide tbh

vivid cedar
#

this is a question for whatever "inno setup" is

young niche
#

idk Im following a tutorial from youtube

vivid cedar
chrome scaffold
#

But also, folder named "DoNotShip" you'd think would speak for itself. The rest of the files and folders you probably want to include.

flat breach
#

https://paste.ofcode.org/hthZrKG6eS9JWQYtJ4dERJ do you think this script for a faked sound detection system would work? I'll just call the EmitSound(); whenever I want something to emit a sound and I'll reference the emitting gameobject's position, in my statemachinebehaviour, I'll check if soundEmitted == true in the update and if it's I'll switch the state to alert and set the position to the posToAlert?

potent geyser
#

Why think? Just try it?

light thorn
#

Harsh

eternal sphinx
#

can someone help me with my avatar im editing on unity

light thorn
#

But true, for everything in life u can just try it

#

But some tries can be the last ones

worldly cave
#

what kind of logic is this lmao

eternal sphinx
worldly cave
#

we cant

#

this is a unity help discord****

#

not for games made in unity

#

go to the vrc discord

eternal sphinx
#

ok

vagrant rootBOT
flat breach
light thorn
#

Or if u wanna test gravity mechanics irl, depending on where or how u do it, it can also be ur last try

worldly cave
#

yeah except in your fictional scenario the stakes are much higher than they are here

#

so the point still makes 0 sense

dusk umbra
#

Hi everyone

glad crow
#

Hello, I'm new to c# coding and i barely know how to use it Do you guys know how do i learn it efficiently?

#

i learned how to use the unity's interface already,it was pretty easy to get used to

craggy pollen
#

check the channel pinned messages

glad crow
#

sure

#

i see the user manual

balmy kettle
#

read past the first link in that message

glad crow
#

okay

#

oh right,the unity's learning projects,i only finished 2 of them and it went pretty smooth

#

there are lots of them

spare bobcat
#

yo which channel do i use to ask about shaders in this discord

spare bobcat
storm patio
#

no

#

go ask the people that know in #1390346776804069396
don't try to single anyone out to help you personally, just ask your question - that's the point of a community

#

!ask

vagrant rootBOT
# storm patio !ask

:thinking: Asking Questions

:mag: Search the internet for your question!
:book: Use the API Scripting Reference and User Manual and this troubleshooting site for commonly posted issues.
:wrench: Attempt to debug your issue.
:thought_balloon: Find an appropriate channel by reading the name and description in #🔎┃find-a-channel
:grey_question: And don't ask to ask, ask a full question illustrating with screenshots if needed.

-# For more posting guidelines, go to #🌱┃start-here

glad crow
#

thanks for the info guys

rancid whale
glad crow
#

my main goal is just to actually make my own logic for the game because doing a step by step tutorial on how to do for example movement isn't gonna teach me anything

vast sedge
#

hi there , i'm looking for tri planar node or technics for procedural shade like sdf pattern ...

umbral bane
#

HEY SUP IM NEW

gray frigate
#

(although, it can only do triplanar sampling of a texture; you can't plug in some arbitrary function)

vast sedge
#

yes i know ... but founded my solution

#

i hope btw ! 😄

#

i think i just need to split it out ! ♪♪ ヽ(ˇ∀ˇ )ゞ

gray frigate
#

i have no idea what's being shown here :p

vast sedge
#

just learning unity from two weeks ...

flat breach
#

hi, I'm really stuck on making an attack animation or timeline for a character, I'd just like the rigged character to use a certain animation such as running and then make it move using an animation towards the player, I know how to make this at a certain position in my game, but in this case I want it to be played all the time the character enters the attack state which means this will be played at multiple positions,rotations, he should also be facing the player all the time.

young niche
#

Is it possible to remove this version from showing up? so I only have the newer one

young niche
potent geyser
#

You can uninstall any version from Unity Hub

sudden ruin
#

in the installs section

glad crow
#

kaputt

young niche
#

oh thanks

gaunt grail
#

Can i somehow get unity hub 2.4.5

exotic relic
gaunt grail
#

Windows 7

#

nvm got it

still aurora
#

hello sorry, unity launched into safe mode annoyingly and it wasnt even anything that was breaking it was just scripts from an asset i was trying to uninstall so i was just trying to cancel out but i let it import everything again which took a while, i loaded into my project and now everything is purple and im starting to get really worried because this took me awhile to create, how do i fix this?

fleet canopy
#

if you have version control/backups nothing bad will happen because you can undo anything that goes wrong

fleet canopy
# gaunt grail Windows 7

windows 7 is already a bad practise for general security but unity doesn't even support windows 7 and hasnt in a long while

still aurora
#

im not sure about version control but i do have .scenes saved if that will work? this never really happened ever so i didn't think too much of it but i did have packages exported and scenes saved just yesterday

plain dagger
#

You will want to correct the compile errors to correct the problem.
having some assets backed up helps but its not great

#

using source control like git, unity vc means full backups with history

#

also means very easy to revert changes and go back in time

fleet canopy
#

.scenes will save just your scenes but that wont help with anything else like scripts, models, etc..

#

materials

gaunt grail
plain dagger
gaunt grail
#

yeah i did but it wants a license

fleet canopy
#

use a personal license?

plain dagger
#

there should be a way to get a license online from unity for older versions still 🤔
anyway win 7 old and unsupported

fleet canopy
#

you cant use unity 6 with windows 7 but i doubt they want to

gaunt grail
fleet canopy
#

if it's not connected to the internet how are you using the hub to install it

still aurora
gaunt grail
#

i got hub installed and editor installed separately using old installers

still aurora
#

if i can get all of this fixed ill definitely look into version control now i just never expected something this damaging to happen

fleet canopy
gaunt grail
#

what does it connect for? why every 30 days

#

didnt know about that

plain dagger
#

tis a very common issue

still aurora
barren nacelle
#

Can someone help been struggling with this for 3days now

#

tried switching the shader to urp>lit but now its just that

#

Havent been able to use assets cuz of this any for of will be appreciated

plain dagger
barren nacelle
#

the second image is the shader in standard

copper gust
plain dagger
#

it may but it just doesnt happen when changing standard to urp lit hence the converter existing 😐

#

I dont make the rules

copper gust
#

I assumed maybe the shader names we’re different between those two but yeah

barren nacelle
fleet canopy
plain dagger
late viper
#

What the actual hell do i do about this

plain dagger
#

you can check the old and new versions

plain dagger
fleet canopy
#

(this was for above sorry)

late viper
#

I try and nothing happens beo

#

Something pops up then disappeareds

gaunt grail
fleet canopy
#

maybe

late viper
#

Someone please

#

I rested my PC and it still doesn't work

#

Someone help me with this please dm me on what to do

copper gust
#

If people knew they would tell you here

plain dagger
#

i fuckin replied earlier 😐

stuck flower
late viper
#

Ngl

strange moon
worldly cave
late viper
plain dagger
late viper
#

Just saying

strange moon
late viper
#

I know bro

fleet canopy
#

And nobody's gonna dm you

#

that's not allowed

strange moon
#

Here you go

fleet canopy
#

you probably just have to reinstall unity editor btw

stuck flower
#

Missing files could be the result of an antirvirus action, or a corrupt unity installation

late viper
fleet canopy
#

antivirus... the greatest malware known to man

copper gust
#

Google says mac and low file size can cause it too

fleet canopy
#

that's clearly not a mac

#

and what do you mean low file size?

#

no storage?

late viper
#

Not anti

strange moon
#

No storage could be it. I will ask him to check that

late viper
#

It's not storage for me either

strange moon
#

Reinstall windows

fleet canopy
#

that's a bit overkill i think

#

wait for them to reinstall unity

late viper
#

Same dumbass message

worldly cave
#

You reinstalled the editor in 3 minutes?

copper gust
#

Go fix it yourself then 😭

late viper
#

Yeah my PC good

stuck flower
#

Yeah, no you didn't

worldly cave
#

We are talking about the editor here

#

Not the hub

stuck flower
#

Actually reinstall it and then see

strange moon
#

Bro hacked and uses NASA servers

late viper
#

Btw it doesn't let me delete too

worldly cave
copper gust
#

If you can’t delete it how did you reinstall it babygirl

worldly cave
#

He didnt

late viper
#

I did the hub

#

Not the editor

worldly cave
#

Thats not what we said

strange moon
#

I had my colleague reinstall unity and he still had same problem

stuck flower
late viper
#

Lowkey idk

fleet canopy
fleet canopy
worldly cave
#

Because he decided to reinstall the hub

fleet canopy
#

if you cant findit here

#

example

late viper
#

I try that

#

It just doesn't work

strange moon
#

Reinstall windows is next

late viper
#

I did that

stuck flower
late viper
#

That's why i came here to ask after i did that

strange moon
#

hack nasa server next

worldly cave
#

Ok so you did everything

#

And youre positive its not your av?

fleet canopy
#

bro reinstalled windows in 5 minutes

copper gust
#

Perhaps get into gardening

worldly cave
#

I guess your shit out of luck then

#

Maybe it was not meant to be

fleet canopy
#

have you considered actually following our advice and like actually doing the things

strange moon
#

Which windows you got @wild radish

worldly cave
fleet canopy
fleet canopy
#

and from their image that's windows 11

late viper
strange moon
#

Olay you guys dont need to act strange with him as well. I believe he did all that before reinstalling and so on

late viper
#

Not to mention i can't delete shit

worldly cave
late viper
#

It doesn't let me delete it

fleet canopy
#

do you have administrator access?

#

try running the hub as admin

late viper
#

I tried that bro

copper gust
#

Figure that out, that’s no longer a unity problem

fleet canopy
#

you havent told us what you tried

strange moon
#

Its often interesting to see what people suggest instead of writing many lines about what you already did which forces you into box thinking

copper gust
#

Just a waste of everyones time

late viper
stuck flower
fleet canopy
late viper
late viper
fleet canopy
#

try restarting your computer after you press the uninstall button

late viper
strange moon
#

Then you didnt uninstall it man

#

You failed at uninstalling it

fleet canopy
#

it tells you where the files are, delete it manually

late viper
#

Ok

#

Restarting

copper gust
fleet canopy
#

@strange moon you're not helping anybody can you like not comment

late viper
#

It still doesn't delete how do you do it manually

fleet canopy
#

it shows you the file path

#

navigate there

#

move the files to the recycle bin

#

including the folder with the files in them

late viper
#

Like select all then delete?

fleet canopy
#

yes

late viper
#

Got it

#

Done

#

And still their

#

Doesn't delete

strange moon
#

Might be antivirus issue?

late viper
#

Nope checked it

barren nacelle
copper gust
late viper
#

Your not helping bro

#

@fleet canopy it deleted thanks

copper gust
#

No one can help you if you reinstalled windows yesterday and do not have privileges to delete files

fleet canopy
late viper
#

Ok

#

I will ping you later when it's done

#

Might take a bit

strange moon
#

You can ping me, not sure about others

fleet canopy
#

but remember not to single out some one person for help

#

this is a community server

late viper
#

I am thinking about and the other editor i had installed said the same thing

#

It might just be something with unity

fleet canopy
#

unlikely

#

do you have any antivirus installed?

late viper
#

No

fleet canopy
#

are you sure?

late viper
#

Yeah just got my pc

fleet canopy
#

alright

late viper
#

For Christmas

fleet canopy
#

nice but not really sure

#

just see what happens when this one installs

late viper
#

I checked history and nothing was their

#

Ok

#

Lowkey my PC pretty mid so might take a few hours but not likely

fleet canopy
#

ok

storm sierra
#

Is there a unity discord area for indie devs

strange moon
#

Is roblox based on unity?

fleet canopy
fleet canopy
#

-# makes sense you're a roblox kid considering your attitude

storm sierra
#

I am mostly referring to issues with working with steam or other things

#

I was hoping to learn from their experiences

fleet canopy
#

the mods here recommend the game dev network

#

discord server

tidal osprey
#

Hello, how are y'all doing tonight?
I have a small little question, but I am not fully sure how to ask it.
Basically, I am having some hard times understanding coding for Unity (I am a noob, never really coded nothing in my life before, but I am very inspired to make my 2.5D game idea become true [3D world, 2D characters])
My problem as of now, is understanding what my C# script should look like? I already have downloaded the Unity assets of 2D sprites, and the other one about better Character control, but my script should be MonoBehavior? Do I need to type something on the lines of "Void Update, Rigidbody, KeyCode.A = rb.Vector2.left"? And I think that that is all my questions as for now since I hope the billboard camera rotation already works lol.

sage basin
tidal osprey
#

Ah nice. Thank you so much.

frosty bay
#

anyone can help me with some animation stuff ?

fleet canopy
#

also

quasi urchin
fleet canopy
frosty bay
stuck flower
#

There's no voice channels here

fleet canopy
stuck flower
#

You'll need to actually put effort into your question

fleet canopy
#

@frosty bay please dont randomly send ppl friend reqs

quasi urchin
fading iron
#

What is the best software to use for higher res sprites and animation but have built in tools like curves and lines? It can be paid, thats fine. Using piskel right now, and need an upgrade

fleet canopy
frosty bay
fleet canopy
#

screen recordings?

#

ask a qquestion dude

#

what's your problem? what do you see? what do you want to see?

frosty bay
#

yea let me screenrecorde

fading iron
frosty bay
quasi urchin
fading iron
quasi urchin
fading iron
quasi urchin
fading iron
#

👌

gusty abyss
#

Is using both input systems a good idea in the long term?

copper gust
#

Not really

#

You can do anything in the old one in the new one

gusty abyss
#

Bad? I mean they’re worth millions. Can’t they make a few edits

copper gust
#

If your starting out do whatever gets you doing stuff faster

#

Not a long term decision

copper gust
gusty abyss
#

Maybe I’ll ask chat gpt to change the codes they give me to the new input system

copper gust
#

Your probably always gonna be doing something wrong. It’s insanely conmon for beginners to overthink on how best they are/can independently learn, it’s a hard habit to break

rancid helm
#

Hi! so i have a really big issue with the engine, i lost my save randomly after build, but it comes back randomly, and after that, the new game scene is coming back, and i dont really know what is happening, i even restarted the whole engine

copper gust
#

Just following guides as best you can, spending time and effort trying to understand what your doing and googling terms and concepts you don’t recognise is how you’ll get comfortable

#

Best way to learn programming in my opinion is less about actually learning programming and more about learning how to learn, which is about identifying what you want to do, breaking that down into as minimal pieces as possible, figuring out which pieces you don’t understand and then researching those specific things online

gusty abyss
copper gust
#

Practice is a massive thing yeah

peak niche
#

Tem algum dev br que faça jogos 2D e possa me ajudar em um problema?

storm patio
#

anyways, 👇

#

!ask

vagrant rootBOT
# storm patio !ask

:thinking: Asking Questions

:mag: Search the internet for your question!
:book: Use the API Scripting Reference and User Manual and this troubleshooting site for commonly posted issues.
:wrench: Attempt to debug your issue.
:thought_balloon: Find an appropriate channel by reading the name and description in #🔎┃find-a-channel
:grey_question: And don't ask to ask, ask a full question illustrating with screenshots if needed.

-# For more posting guidelines, go to #🌱┃start-here

storm patio
#

please don't crosspost. your thread in code-general was the right place

pastel echo
civic sinew
#

i know its probably because its the wrong type of object or something but im trying to add a material to this rock preset and its only applying the colour not the texture

slow dirge
mortal charm
#

hello i am making a project and i need a team member

vagrant rootBOT
# slow dirge !collab

:loudspeaker: Collaborating and Job Posting

We do not accept job or collab posts on Discord.
Please, use Discussions to promote yourself as job-seeking, advertise commercial job offers, or look for non-commercial projects to participate in:
• ** Collaboration & Jobs**

mortal charm
#

sure

#

is there anyone joining me

gusty abyss
slow dirge
crystal sequoia
#

But alr

storm patio
#

that was direct, not mean

#

frankly, it was necessary

crystal sequoia
#

Ehhh I take it, it was dumb on him

raven delta
#

SDK in my unity is really slow. Ive reloaded it twice now but still no go. cant name avatar or load photo. any ideas

copper gust
#

is this vrchat

raven delta
#

is that a question or sarcasm?

copper gust
#

question

storm patio
#

a question

#

because you didn't really give much info

#

sdk just means software development kit. it could be .NET SDK you're having issues with for all we know, but avatars and photos don't seem related to that

raven delta
#

this

copper gust
#

unfortunately we can't help with that on this server

storm patio
#

cool, so vrc

#

!vrchat

vagrant rootBOT
copper gust
#

gotta hit up the vrchat server

raven delta
#

ok thank you Chris

storm patio
#

we can't help you, not because we don't want to, but because we don't have the expertise

copper gust
#

and probably vague tos stuff

storm patio
#

true

left hull
#

Hello

golden spire
#

👋

storm patio
foggy mantle
#

Hi sorry my english is bad, can someone please dumb it down for me? like how much unity has to take if i make money out of their game engine?

#

like unreal will take 5% if i make 1 mil

#

what about unity? i cant seem to understand when i read their site

pearl oyster
#

$200 / month if you make more than $200k per year

foggy mantle
river gale
#

I just made my very first build of a game

solar panther
#

Hey, guys is there could be an update of Unity Hub for 2026?

Kinda, curious btw.

storm patio
#

if unity doesn't go under, yes

gray dirge
potent geyser
#

Templates

worldly cave
eternal sphinx
#

im making a map for my game does anybody have a town with storm drains similar to the one where pennywise meets georgie

potent geyser
#

Nobody is just going to "have a town". You can search the Unity Asset store for something.

snow geyser
#

how the fuck do I download an assets I bought on the store?

potent geyser
#

Open the package manager in Unity

snow geyser
mild radish
#

go into the package manager manually and download/install it 👀

snow geyser
potent geyser
#

No, you do it in Unity editor

mild radish
#

from the engine itself..

snow geyser
#

is there a way to download it without that stuff?

#

like wheres the download button

mild radish
#

once u confirm/purchase it in the asset store it'll appear in the PackageManager

potent geyser
#

No, it's meant to be used in Unity, so it's downloaded in Unity.

#

The download button is in the package manager.

snow geyser
#

taht's dumb af thanks tho I dont use unity yo I need to download all that crap just to download the assets? thanks for the info.

potent geyser
#

Yes

mild radish
snow geyser
#

whata consumer hating software

potent geyser
#

Your tantrum about it doesn't make it a true statement.

mild radish
#

they are Unity assets..

#

so yes.. you do it via Unity

snow geyser
mild radish
#

🤦‍♂️ lol

deft rock
#

they're unity assets, and I'm half sure the EULA says they're not for use in any other engine

snow geyser
#

at leaast not when I checked it

deft rock
#

yeah, that's wrong.. dunno what I'm thinking about instead

snow geyser
#

I've heard it before, maybe there are different licenses?

#

anyway I didnt find any such statement when I checked

deft rock
#

The general license allows it, each asset can have a different one which could specify there

snow geyser
#

where can I see the progress of this?

potent geyser
#

At the top of the Hub there's a download button

snow geyser
#

Unity Asset Store purchases can only be downloaded via the Unity Editor. However, once you've downloaded and imported your asset, you can use the raw files outside of Unity, although we can't guarantee compatibility.

snow geyser
#

ah I see what you mean

#

thanks

warped rivet
#

Unity is going to make me lose it

#

I'm working on something in unity for a class and I've spent the last 2 times I had the class trying to connect it to unity version control and it won't work

#

😭

glad crow
#

guys my skybox isn't working ,why i don't see the clear flags on my main camera?

#

oh nevermind,i just added a large sprite instead of the skybox,for some reason it just didn't work

ocean pumice
near wigeon
ocean pumice
#

Has its pros and cons 😄

woeful vector
#

Hey guys, need help please. I'm looking to use Playworks to create some ads. On the website the price shows $15K. What if I only want to export for 2 platforms like Google Ads and Meta?

woeful vector
simple eagle
#

Can someone help me figure out whats going on? I'm working through the beginning of the Junior Programmer pathway and I'm running into an issue where I enter Play mode and then when I exit play mode, the project window is randomly selecting a file to inspect inside of the Packages folder. It's not breaking anything, its just annoying.

shadow heron
#

Is it because the tracking target is in the player and because of the script its rotating the player and it just loops?

balmy kettle
#

if your camera is set to follow the player's rotation and you rotate the player based on the camera's rotation, then yes it's just going to spin fast when either are supposed to rotate

#

you should rotate the player using your mouse input, and have the camera track the player

austere narwhal
#

anyone in here have an QCY H3 Pro?

storm patio
#

do you have an actual unity question related to that

safe garden
#

hi guys, is there a way to replace an already existing prefab with another newly one you created, just so it updates in all instances?

storm patio
#

edit the prefab you already have

#

could like, copy everything from the new one and paste it into the old one or something, probably

safe garden
#

will try ty

potent geyser
#

If you right click the object in your hierarchy, you can link it to a prefab under the prefab flyout.

#

If it's already a prefab, at the top o fht e inspector, you can drag another reference in I think? I forget where that is.

flat breach
#

hi, do you guys think disabling some scripts or gameobject that I don't need anymore would be a good thing during gameplay to do for performances or I shouldn't care about this with my game scale(around 80 scripts, don't know how many of them run in update thouugh)?

craggy pollen
flat breach
craggy pollen
#

is running 100 processes the same as running 5 processes on your computer

near wigeon
#

thats also relevant if they are running operations Update otherwise they are still loaded in memory anyway

near wigeon
#

disabling only gets rid of Update/Physics update calls

flat breach
#

is memory like loading everything the game consists of/has?

storm patio
modest meteor
near wigeon
storm patio
flat breach
near wigeon
#

and you should profile (unity profiler, frame debugger, etc.) more important to see where You actually need improvement

flat breach
# storm patio

I'm already lagging most of the time on my computer with a rtx4070, ryzen7 and 16go ram, arduino is really limited lool

near wigeon
#

most times its the graphics and heavy gpu stuff than code

#

lighting, post processing etc

flat breach
near wigeon
#

if you got a mesh with thousands of tris, you probably wanna look into cleaning up

storm patio
#

making something go from 2ns to 1ns per frame isn't going to make the other 40ms task faster think

near wigeon
shadow heron
# balmy kettle you should rotate the player using your mouse input, and have the camera track t...

is this how I rotate the player in my mouse input? I don't want to control the sensitivity how would I just rotate the player with my mouse input? cause right now when I rotate I have to adjust the value which will rotate the player and increase the sensitivity. I can't make it rotate with the camera cause I would have to then change the reference frame in cinemachine settings and the headbob rotating effect will no longer work.
https://paste.ofcode.org/n6VNktQjM86Lnp5CQakkiK

balmy kettle
warped rivet
#

But I can't directly use GitHub because my school has it blocked

warped rivet
storm patio
#

or do you have the entire uvc repo inside a git repo

ocean pumice
#

Lets hope not… uvc is its own repo system based on git I think.

near wigeon
near wigeon
ocean pumice
#

Ah, Plastic scm supports the git network protocol, its not based on it

near wigeon
#

it has some interoperability afaik, but also with preforce

ocean pumice
#

And uvc = plastic, just renamed

near wigeon
#

pretty much

warped rivet
#

My friend knows how to use GIT so I'll just ask him tommorow probably

ocean pumice
near wigeon
#

schools block version control these days? odd..

warped rivet
#

GitHub's site is blocked

#

Also it's not a university it's an elective at my HS

#

I can get around the schools proxy but my internet is really spotty in that classroom and I don't want to use too much data while updating the repository

near wigeon
#

the two are different things

warped rivet
#

My friend knows how to get it work with GIT

storm patio
#

ok, so why not use git (without using github)

warped rivet
#

I'll ask him tommorow I can't do anything about it rn anyway cus I'm not in that class

warped rivet
#

Anyways I gtg to clas

storm patio
#

oh, mb

#

the major competitors i know of are gitlab and bitbucket, try checking if those are also blocked

shadow heron
warped rivet
#

I'm just going to ask him to help me with it tommorow in class

elder prairie
#

could somebody perhaps help me, I'm kind of giving up hope here
my enemy's shooting animation isn't playing and the animation itsself isn't either, it was working fine before I tried putting an animation on him

near wigeon
gray frigate
#

you were previously multiplying your look input by a tiny number

#

e.g. 0.01 at 100 FPS

shadow heron
gray frigate
#

so you need to compensate for that

near wigeon
fleet fiber
#

Hola

shadow heron
#

If I keep it at 0.1 it works but if I bring it lower the headbob effect rotation is no longer relative in the direction I am looking.

near wigeon
gray frigate
#

lemme look at your code

shadow heron
gray frigate
#

nothing in here would cause head-bobbing

shadow heron
gray frigate
#

are you trying to rotate the cinemachine camera's object yourself?

shadow heron
balmy kettle
#

any particular reason you are implementing headbob manually instead of using noise on the vcam?

gray frigate
#

(you can also use a Recomposer extension to adjust the final rotation)

#

i'm doing that right now, actually

elder prairie
# near wigeon we need more context here, and show setup
using UnityEngine;

public class RobotShooter : MonoBehaviour
{
    public Transform HandSpawn;
    public GameObject ProjectileLightBall;
    public float shootCooldown = 2f;
    public float shootRange = 10f;

    private Transform player;
    private float timer;
    private EnemyHealth enemyHealth;
    private Animator animator;

    void Start()
    {
        GameObject p = GameObject.Find("Player");
        if (p != null)
            player = p.transform;
        else
            Debug.LogError("Player not found!");

        enemyHealth = GetComponent<EnemyHealth>();
        animator = GetComponent<Animator>();
    }

    void Update()
    {
        if (enemyHealth != null && enemyHealth.IsDead)
            return;

        if (player == null) return;

        timer += Time.deltaTime;

        if (timer >= shootCooldown)
        {
            float distance = Vector3.Distance(transform.position, player.position);

            if (distance <= shootRange)
            {
                Debug.Log("Trigger Shoot");
                animator.SetTrigger("Shoot");
                timer = 0f;
            }
        }
    }

    public void FireProjectile()
    {
        Vector3 targetPos = player.position + Vector3.up * 1.5f;
        Vector3 dir = (targetPos - HandSpawn.position).normalized;

        Instantiate(
            ProjectileLightBall,
            HandSpawn.position,
            Quaternion.LookRotation(dir)
        );
    }
}

this is my code, it should work

the shoot animation has an event on it (fireProjectile function)
the animator is set up like this

Entry -> EnemyIdle <=> Shoot
Shoot has the Shoot Parameter condition on it (a trigger)
I'm not sure if I'm missing anything or what's going on

shadow heron
near wigeon
near wigeon
# elder prairie yes

select the Animator on the gameobject in question, while in playmode with Animato tab open / docked aside you should see what the transition / params are doing Live

elder prairie
#

oh bruh

#

I'm seriously

#

gonna

#

kms

#

atp

near wigeon
#

dont spam msgs plz

shadow heron
elder prairie
#

seems like I accidentally disabled the Animator inside of the enemy object 💀

#

ty for the help tho

#

still gonna kms tho

gray frigate
boreal thicket
shadow heron
boreal thicket
#

Yall when i gave my friend edit it didnt work?

gray frigate
#

oh, I see why your existing code doesn't work right

near wigeon
boreal thicket
#

I gave him the project

#

I put in his email n stuff but he cant go in it

gray frigate
stuck flower
silent mica
#

currently when switching away from unity with alt-tab the focus will automatically be forced back to unity, is there any fix for it?

#

clicking away works just fine

gray frigate
boreal thicket
#

I clicked the three dots,then i clicked on the thing that helps with partners to go on the project,i gave him the ranks bit it didnt work

gray frigate
#

you're going to have to show us exactly what you did

#

I'm guessing that you don't have version control set up for your project

#

and that you've just added your friend to an organization

boreal thicket
#

Oh thats what i clicked

#

The version control

balmy kettle
#

you need to be specific about the steps you took, because we have no idea if you've done anything correctly if you're incredibly vague about what you did

echo rune
balmy kettle
#

that article is 5 and a half years old, many more things have changed in shader graph since then

#

consider looking at recent documentation for shader graph if you want to learn how to use recent versions

shadow heron
echo rune
balmy kettle
#

that is specifically about what has changed at that point in time, not what has changed since then. so if you are using a more modern version of shader graph, then naturally that article is out of date and you need to find recent documentation

shadow heron
gray frigate
#

I know that you have:

  • a character object, that rotates around the world Y axis
  • a look target, which rotates around the local X axis to do headbob
balmy kettle
echo rune
echo rune
gray frigate
#

ah, I see

echo rune
#

I'm not sure if it's supposed to be image (bcoz other images in the article works). It may be a code snippets

gray frigate
#

seems like all of the code snippets are missing

echo rune
#

Anyways i'm more asking about where/who to report about this, and also posting here in case anyone have a backup article or something

#

Or... i guess i can also find a different "beginner to custom lighting" tut

gray frigate
#

The github repo is still available, so you can check that out

#

ha, this was back when they called it the LWRP

#

I'd suggest checking out this page, actually

balmy kettle
gray frigate
#

I was just asking about how to access lights in the URP

echo rune
#

I'm looking into this article bcoz this is what's referenced by another newer (but still pretty old) more advanced tutorial

limpid pivot
#

Me using URP 2019
Pragma 2.0

Me using URP 6
Pragma 3.0

#

The joke is that webGL doesn’t go higher

stray rain
#

Hello, could someone help me? The button doesn't appear when I'm testing the game. What should I do?

balmy kettle
#

start by being more specific about what it is you need help with

stray rain
#

I'm creating a game, but there's one problem: when I launch it, the exit button disappears and you can't even press it, but on the stage it's there, the text and the button

tawdry stag
#

hi everyone

#

why when i rotate this half a circle, it says im rotating it 35,000 degrees?

stray rain
#

@balmy kettle

balmy kettle
#

if you look really close at the bottom left of the game view you'll see your button kind of appears because that's how you have it positioned on the canvas.

flat breach
balmy kettle
# stray rain <@175082927862841344>

enable gizmos for the scene, then select your canvas and you'll see its outline. that represents the entire screen and you need to position/scale/anchor your UI correctly within that. see the docs pinned in #📲┃ui-ux for how the canvas works

storm patio
#

are you having an issue in your ide?

flat breach
storm patio
#

ok, what do you mean by "Random isn't getting detected" then?

stuck flower
#

also you are missing a semicolon

flat breach
storm patio
#

intellisense isn't showing up?

stuck flower
flat breach
storm patio
#

what is the issue here

flat breach
stuck flower
flat breach
tall hearth
storm patio
#

let me guess, you also have using System

flat breach
stuck flower
#

Problem solved

stray rain
#

@balmy kettle accepted pleas to friend, because i m stupid and i don't undurstand

storm patio
#

@flat breach you aren't giving much info to work with here at all. what is the actual issue? an error? no intellisense?

storm patio
balmy kettle
#

what does the actual error message say?

flat breach
stuck flower
tall hearth
stuck flower
#

Now that you've posted the whole thing you can mention what the error is

flat breach
stuck flower
balmy kettle
#

there is very clearly an error right there, you can hover your mouse over it to read it

storm patio
flat breach
storm patio
#

errors are not a unity concept, man

storm patio
flat breach
balmy kettle
tall hearth
stuck flower
flat breach
storm patio
#

or using Random = UnityEngine.Random

flat breach
stuck flower
storm patio
balmy kettle
stuck flower
rancid igloo
storm patio
#

anyways, @flat breach read/share the actual error

flat breach
storm patio
#

no point arguing

flat breach
#

but anyway, I poorly explained the issue mb let's get over it

storm patio
#

you are making an assumption about the error, without having checked it

#

if you do not read/share the error, we cannot make any progress here.

flat breach
balmy kettle
storm patio
tall hearth
balmy kettle
stuck flower
rancid igloo
balmy kettle
#

i gave an answer and told them where to look for more information about what they are doing. they need to actually pay attention to that information

subtle owl
#

What the hell is going on in the chat?

storm patio
flat breach
storm patio
#

stop pestering specific people

storm patio
flat breach
storm patio
#

but yes, that's what i'm referring to

balmy kettle
storm patio
#

@stray rain stop sending random friend requests, stop pestering specific people. you've been given instructions. if you need clarification, ask here.

balmy kettle
#

and do you still see the red underline in vs code?

flat breach
balmy kettle
#

what?

flat breach
#

ints[i] = UnityEngine.Random.Range(1, 5);

stuck flower
flat breach
#

now it works when I'm specifying the namespace and class

flat breach
storm patio
#

if you don't have UnityEngine. and get a similar error, then one of the other namespaces also has a type called Random. read the error to find out which

flat breach
#

my brain is gone

storm patio
#

make sure to actually read errors in the future

#

they give info, so you don't have to make assumptions and then be wrong

flat breach
storm patio
#

incomplete code isn't going to give meaningful semantic errors, it'll get syntax errors first. make the syntax correct before even considering semantic errors.

storm patio
flat breach
flat breach
storm patio
tall hearth
near wigeon
flat breach
#

I just wanted to take care of the organization later yk

storm patio
storm patio
tall hearth
storm patio
#

if you put it off for "later" there's a significant chance that it'll end up being "when it shoots me in the foot" lol

tawdry stag
storm patio
#

yeah, editor bug

near wigeon
#

If it goes over 360 it means you rotated it more than onnce

flat breach
storm patio
stuck flower
near wigeon
#

It only cares that internally is a normalized quaternion afaik

slim narwhal
#

where do i go to talk about issues with my multiplayer setup?

storm patio
slim narwhal
#

thanks

hushed oriole
#

what channel do i post builds of my game for other people to test again?

near wigeon
# simple eagle no

Remove it from package manager . See what happens s after. Could be bug in editor or project if you're using a lesson project template

naive cloud
#

How to update a prefab based on an instance?

near wigeon
naive cloud
paper sleet
#

I have been struggling w/ making a mirror for over 2 months. Everything i try is slightly broken every time.

#

What do i do

near wigeon
naive cloud
#

wait just found it

near wigeon
paper sleet
#

I want a mirror that has a mirrored camera for every player

near wigeon
#

what now?

paper sleet
#

What?

#

wdym?

fleet canopy
#

this makes no sense

paper sleet
#

I want a mirror that is accurate to a real mirror. The camera moving with the player's movement

#

to give it depth

#

I just want a mirror that can point the opposite direction of the player's perspective but from the mirror to actually "reflect" like a mirror does instead of looking completely flat

copper gust
#

most games just don't do that ngl

#

getting into raytracing territory

paper sleet
#

I won't rlly have many.

copper gust
#

older games that did have mirrors in some places would literally have it as a window into a identical room with a fake player moving in a reflected version of the player

paper sleet
#

I just want to try it. if it doesn't work right, then i'll scrap it

#

render textures w/ static cameras just dont do mirrors justice

#

I haven't even made any levels bc i have been creating the core mechanics since like october. intentional Box jump glitches (Inspired by Sam Hogan, mostly the actual box jump. idk how he did it 1st try), mirrors, box spawners and voicelines. There are SO many more

#

mostly mirrors tho

#

Would i need to just use a transform reflect function?

worn juniper
#

Hello! How can i make my enemy hear my via modifying steamaudio raycast system. I traveled through 7000 lines and yet no solution. Yes i know how its done in other games: graph or just radius check. But realistic sound is very, very needed in my game. pls help

dusky siren
#

what logging service do you use for your games?

flat breach
#

hi, this is the error I'm getting when I enter playmode : and this is the code at 75th line, I'm just accessing UnityEngine class and its function which shouldn't give a null reference right?

copper gust
#

whats ints

elder prairie
#

please help... my last save was quite a while ago and my deadline is in 2 hours

copper gust
#

can't tell what the issue is

#

if unity is locked up you might have to restart it

elder prairie
#

I'm gonna cry

elder prairie
#

is

#

giving that one errory sound

copper gust
#

probably a restart then

worldly cave
#

Why are you not saving often?

#

This is like using any software 101

#

2 hours without saving and im assuming 0 version control is just irresponsible on your part

elder prairie
#

I'm not sure how much I'm losing rn

#

I'll have to see

stuck flower
#

Ah, no embed that would have provided context

elder prairie
#

okay okay

#

not toooo awful

stuck flower
#

You can restore your scene after force-quitting Unity as long as you do it before starting it back up again

elder prairie
#

maybe 20 minutes of work

worldly cave
#

Not even unity specific just in general

elder prairie
#

yeah I know but usually you don't save every 5 minutes yk

flat breach
copper gust
#

show where it's declared

worldly cave
#

A good habit to have

flat breach
copper gust
#

its null

stuck flower
#

Where do you create a new array?

flat breach
paper sleet
#

could someone vc w/ me who is good with accurate mirrors? I am struggling

copper gust
#

nope

flat breach
#

I should take more importance regarding organization, it's so hard to keep up with a badly organized code...

paper sleet
copper gust
#

yup

#

no vc's here

paper sleet
#

could someone help me in my server? Is "self-promotion" against the rules even if it's not for promotional reasons

worldly cave
#

For discord servers yes

copper gust
#

no vc's here because help via text in here is prefered

#

for many reasons

#

just two cents from a stranger on the internet but i would seriously consider if you actually need these mirrors

paper sleet
#

I have a secret that would humiliate me in front of the unity discord.

worldly cave
#

Ok

paper sleet
#

I don't know how to code in c#. I use.... CHATGPT!!! ;-;

copper gust
#

ok

#

well go learn c#

#

mirrors are the least of your problems

worldly cave
#

Not that you cant code no

#

But you not knowing how to code and using ai

#

Thats the rough part

paper sleet
#

I rlly have been trying to learn by the things that work that chatgpt gives me. I can code in so many languages but not c#. I took a beginners class for c++ but that is basically it

worldly cave
#

Also why do people who choose to use ai always pick the dumbest one for programming in general

copper gust
#

makes about as much sense as the stuff chatgpt vomits out

paper sleet
paper sleet
#

Like a very very beginner level class

worldly cave
#

You know many languages

#

But dont know C?

paper sleet
#

i know a lot of the easy ones. Python, html, css (a decent amount), javascript (enough to make basic sites), php (only the html part XD), bash/zsh (basically the same with just tiny differences but i know a decent amount), swift (not anymore tho), and a few more

worldly cave
#

So not that many

#

Got it

paper sleet
#

For a teen, yes, kinda

worldly cave
#

Wtf happened to the pins

#

Nvm

vagrant rootBOT
#

:teacher: Unity Learn ↗

Over 750 hours of free live and on-demand learning content for all levels of experience!

paper sleet
#

Thank you! btw i can share my current project if that's allowed so u guys can laugh at me

#

I love public humiliation

near wigeon
worldly cave
#

I think you should stop with the self deprecating as well

paper sleet
paper sleet
#

Okay, thank you guys! I'll check those out!

worldly cave
#

Good luck, it should be an easy thing to pick up fast

paper sleet
#

I gotta get off discord now. I'm at school and they don't want me on it

near wigeon
#

calling html a real programming language is like saying crayons are the same as welding torch

copper gust
#

they are a teenager at school

tall hearth
exotic relic
#

Even if it isn’t a programming language, it is helpful for learning formatting(spaces), open & closings, and consistency

tall hearth
fleet canopy
#

<@&502884371011731486>

molten lodge
#

Quick question, if I use rider for unity and decide that one of the games is going very well and I decide to publish it, can I buy the commercial rider JUST before publishing it? Or do I have to actively have the commercial license while developing the game

fleet canopy
#

probably yes though

sly lake
# molten lodge Quick question, if I use rider for unity and decide that one of the games is goi...

They're very clear about this.

"If you plan to release the product and get commercial benefits from it, either now or in the future, you should use a commercial license. If your project is for non-commercial purposes, then a non-commercial license is valid. However, if your intentions change over time, you’ll need to reassess whether you still qualify for non-commercial use. If you’re unsure after considering your intentions, it’s safer to choose a commercial license."

simple eagle
#

What is everyone's opinion about the Junior Programmer pathway on Unity Learn, is it worth the time if I'm a beginner?

molten lodge
#

Ahhh gotcha. I've honestly never used rider before but I keep hearing thats the best for unity. I've always been a vscode guy

fleet canopy
#

jetbrains makes pretty good IDEs but it's up to what you prefer

#

im sure there's people here who use notepad

#

!collab

vagrant rootBOT
# fleet canopy !collab

:loudspeaker: Collaborating and Job Posting

We do not accept job or collab posts on Discord.
Please, use Discussions to promote yourself as job-seeking, advertise commercial job offers, or look for non-commercial projects to participate in:
• ** Collaboration & Jobs**

short grove
#

First time I bought models off the unity store
forgot to accouint on if they supported URP or not

gray frigate
#

I bought a license before they had the non-commercial version (although I do use it for commercial purposes now)

fleet canopy
#

can agree, have been using jetbrains IDEs under a student license for quite a while now

#

i dont suppoort their AI art splash screen though

gray frigate
#

the slop must flow!

fleet canopy
#

they're not even a public company where the investors are paying them to do that

#

they just did

molten lodge
#

I think I'll mess with the non commercial right now so I can just play around with it but when I decide to go in on a big project I'll get the license. I'm excited to use it. The UI looks SLICK

fleet canopy
#

the UI looks even better when yous et it to comic sans

#

but yes you should try all the options

#

!collab

vagrant rootBOT
# fleet canopy !collab

:loudspeaker: Collaborating and Job Posting

We do not accept job or collab posts on Discord.
Please, use Discussions to promote yourself as job-seeking, advertise commercial job offers, or look for non-commercial projects to participate in:
• ** Collaboration & Jobs**

fleet canopy
#

i've told you twice now

plush sigil
#

what channel would i go to here for help with the skinned mesh renderer component?

deft rock
near wigeon
worldly cave
#

its worth it imo

safe garden
#

having a weird thing happen, there's a moving object set up by the level designer. I've dropped in a custom mesh I have made just under the mover on hierachy (the object that moves the object left to right)

However whenever I add the custom mesh to its hierachy, the object stops moving on play. For some reason though using a 3D gameobject > cube, or any other shape made in Unity and doing the same process, the object moves fine 🤔

copper gust
#

does your custom mesh have a collider component

safe garden
#

no, no collision

copper gust
#

might be worth adding one and seeing if that changes anything (im mentioning because they unity default shapes do have one so thats a point of difference)

safe garden
#

just trying now!

#

hmmm tried adding box collider and mesh collider both on separate tries, but doesn't work

#

the moving object also works with a 3D game object (cube, etc.) made within unity, but if its a custom mesh made in something like Blender, it breaks

copper gust
#

best answer would be to ask whoever wrote the code

#

another random shot in the dark is seeing if enabling read access on the mesh is enabled (in the fbx settings)

safe garden
#

they're all in bed now, I'll do it in the morning 😄 ty will try tomorrow

#

@copper gust I think you were right, I tested removing all the colliders on those meshes and now its moving fine, it seems to be a collision issue - have to look into it

copper gust
#

handling characters going on and off moving stuff is a whole pain in the ass to deal with and most solutions require somewhat specific setups on the moving stuff to have it working all nice

#

it might be looking through all the children and making assumptions on what they need

safe garden
#

will take a look at it thanks!!

smoky harness
#

Hello. If I have a question about the editor. where should I ask?

vocal niche
#

hi

#

what is the best way to store and interact with game setting ?

#

like
I thought doing a SO to store this in the game manager then give the game manager to the UI setting and in the UI setting update all

glad crow
#

guys any idea why doesn't my textmeshpro change from blank to "you lose" when i die?
it succesfully destroys my game object but it doesn't display the text lol,here is the code:

#

im a beginner

vocal niche
#

is it a 2d game ?

glad crow
#

yes

#

when i type something i can see the text in the game view

#

but not with my script lol

vocal niche
#

did your collision work ?

glad crow
#

yes

vocal niche
#

have you bind the text in the inspector ?

glad crow
#

i have this

vocal niche
#

or give the player tag to the current player ?

glad crow
#

yes i gave the player the tag

vocal niche
#

did your TextMesh Pro is in a canvas?

glad crow
#

but it confuses me when i try to drag a prefab from the hierarchy and project files,it's 2 completely different things

stuck flower
glad crow
#

it's a prefab

vocal niche
#

oh

#

your EndGame textmesh should be in scene to work

glad crow
#

idk if it is now lol

stuck flower
glad crow
#

so i have to drag it from the hierarchy?

stuck flower
#

You'll need to reference the one that exists somehow

glad crow
#

i'll experiment lol

#

ima try make a new textmesh

stuck flower
#

If this is also a prefab, you'll need to get the reference after spawning it in

glad crow
#

i tried without a prefab and it works,but now i cannot get my textmesh inside of my prefab

#

so i have the floor and the pipes

#

floor isnt a prefab and the pipes are prefabs

#

missing textmesh

copper gust
#

you can't reference things outside of a prefab asset in the prefab asset

glad crow
#

oh

#

what if i make the whole canvas a prefab

copper gust
#

if it's something in another prefab that still wouldn't work because it's outside of the prefab

#

it's like microwaves sold at a store still boxed, they are designed with a power plug but it's not like the microwave at the store in the box can be plugged into the wall in your house

#

it's designed to plug into something but it fundamentally can't know what that something is when it's in the box

vocal niche
#

what a nice exemple

#

btw, my question got skipped xd

what is the best way to store all setting like resolution, full screen , Volume and more?

#

and make the interaction with the UI ?

potent geyser
#

PlayerPrefs

stuck flower
vocal niche
#

thanks

potent geyser
#

The thing every video tutorial polluting the Internet convinces beginners to use for the wrong reason, finally has a use.

copper gust
#

Would be nice if there was a better super basic solution for people to use instead

fleet canopy
#

doesnt unity 6.(3?) have something built in for save data

#

not specifically prefs but game data

potent geyser
#

That would be news to me

fleet canopy
#

oh

#

maybe im misremembering from the unity unite

copper gust
#

yeah for their multi platform stuff

#

not sure if that fits the boot im thinking of tho

fleet canopy
#

it was 33 minutes into the engine roadmap but it's part of platform toolkit

exotic relic
copper gust
#

i agree

#

except they are saved where that stuff shouldnt be saved

#

which is shit

#

hence why it would be nice if another similar but intended solution existed

exotic relic
fleet canopy
#

is platform toolkit only designed to be used with console platforms?

#

datastore this is what i was referring to earlier

exotic relic
gray frigate
#

anything you write to the persistent data path should be fine

tall hearth
exotic relic
fleet canopy
#

another device?

#

like a dev kit?

exotic relic
#

you no longer need to create a system file reader

fleet canopy
#

i guess that's more convenient though? if it's easy to use

exotic relic
#

unity has its own new built in method for saving/reading/writing to files

tall hearth
tall hearth
exotic relic
#

kind of like using playerprefs except it stores it in a binary format

#

Whatever you can do in a json file, you can do with the DataStore basically, yet you do not need to code your own parsing system. Unity already safely parses, hides the save, and has callbacks for waiting to properly save

tall hearth
#

curious now does it support saving dictionaries?

exotic relic
#

Yes

#

Not directly, but.. in a way

tall hearth
#

:o nice i know that was something annoying with json since you'd need to manually handle the wrapper so it'd be like storing it as 2 lists

tall hearth
exotic relic
copper gust
#

unity does have a serializedictionary tho

#

just not serialization of the c# type

#

which is dumb but whatever

tall hearth
copper gust
exotic relic
#
MyItems:
  - sword:1
  - stone:20
```it would save it in those sort of format. idk what you fully intended to save as a dictionary but for example, yes it could save a whole players inventory in one line of code, using other lines of code to feed it the data you want to store in such dictionary
tall hearth
vocal niche
#

maybe I will take it later

potent geyser
crude robin
#

Which is better intel core i5 13420H or Ryzen 5 8645HS

bleak chasm
fair cove
tall hearth
#

I've only used whatever microsoft gave us in their namespace libraries (so things like using system.io; ) for data saving

brave ridge
tall hearth
fair cove
# tall hearth Nope just basic old written code, tbh though i've only gotten a year and like 4...

Ah, next time your working with serialized data, maybe you could give Newtonsoft JSON a try, its not too difficult to work with since you only need to deal with 2 functions (Serialize and Deserialize), and your saving and reading from a file so you would still use System.IO for that part, and choose where youd want to save to (such as PersistentDataPath), but it handles things like Dictionaries fine, as long as you dont try to save anything that is self-referencing like Unitys "Color" class there shouldnt be any extra steps involved with it

Although I will say, it does help having a wrapper you write once, I made a "SaveService" that basically just wraps the Serialize/Deserialize with System IO in some functions that take in a file name and use System.IO.Path.Combine to always access the same location, I also infer the extention, so scripts only need to do something like SaveService.Save("inventory"); inventoryInstance = SaveService.Load<InventoryData>("inventory");

brave ridge
#

newtonsoft doesn't have an issue with those unity classes either if you also grab their converter package

fair cove
#

Oh? Interesting, I didnt know that it can automatically handle that