Gamobject is invisible for no reason

Editor: Gamobject is visible

Bundled app: Gamobject is invisible for no reason

Anyone can help me?

Try changing the Z position value a little. 0.1 or -0.1.

I tried but still invisible :\ I know the Z position is have to be in this range: [1.0 ; -1.0]

Btw, it’s so strange because when i simple build, the gameobject is visible, but when i try make bundle gameobject is become invisible for no reason.

[SOLVED]
I think this is vudu

Solve: delete gameobject and make a new one.

It was most likely z-ordering. If you have several objects on the same z their draw order is undefined.

3 Likes

If it happens again, remember to check the z of the game object’s components as well.

3 Likes

Yes it possible, but i don’t have any other gameobject in z=0.0

And no sprites with a negative or positive z-value that would add up to 0 when taking into account the hierarchy of game objects? Remember that the final z-value of a component such as a sprite is determined by the aggregated z-values of the whole hierarchy.

Nope it was exactly zero the z-value.