A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
I'd check order of operations. Make sure everything is getting setup as you expect in the correct order. For example, if two scripts both...
If LoadNextLevel is being called, once buildIndex + 1 doesn't target anything, pretty sure that will cause an error. But you really need to add...
I wouldn't do the while loop since OP is adding children onto the parent as well. I'm guessing this would result in an infinite loop since...
The problem with your loop is that you are removing children from the parent, which changes the childrens order. Think of it this way. When i =...
ammo is a value type, which means when you pass the value to the Shoot method, your playerShoot class never gets told that value changes. It's...
When you fetch your sprite, you should assign it to a Sprite variable in code. weaponSprite = Resource.Load("LOAD YOUR SPRITE");
Very odd, because I've had UI images that have z == 0 and they show correctly. They aren't hidden nor are they just one color. I also just tested...
Your emptySlot spirte variable is public. Just drag and drop the sprite from your project into the variable. No need to instantiate it from code....
I'm just going to say, I've done this in several projects with UI and have not once had an issue. That is, we'll have stuff scaled to 0,0,0 to...
GameOverPanel.transform.localScale = Vector3.zero; RestartGame.transform.localScale = Vector3.zero; You're saying these don't appear, but in...
What sprite? What part of your code isn't running? I assume you mean your sprite isn't showing up? Give a bit more info.
Also, is your xcode at the latest version? And it's the workspace file you're opening in xcode, correct?
https://docs.unity3d.com/ScriptReference/Input.GetTouch.html https://docs.unity3d.com/ScriptReference/Input-touchCount.html You can check your...
Start debugging! Add those Debug.log calls and print out those values of what your if check is returning when you call IsDeathAnimationPlaying or...
Show your code for setting and getting your playerprefs.
We're using unity 2022.3.20f currently. My test device has iOS 15.5 on it, but our QA team has a variety of test devices and versions. No one has...
Yes, I work as a software developer and we don't have this issue. It doesn't happen on Android and doesn't happen on the older iOS version you've...
Does it lag when you're not using the profiler? Based on your list, it's only lagging on 17.3.1 iOS? It looks like 17.4 is out. Are you able to...
Only thing I notice is index 0 of your list becomes missing. I assume maybe this is when it's destroyed. But it's possible this is your issue. I'd...
Ah, I found that setting maxScale in the underline part of the code to a set value keeps it the same thickness under with a sprite. I think this...