As @DeManiac says, it’s most likely related to a z value being outside the range specified in your render script. The default render script has a range from -1 to 1. You can change this by copying the render script, modifying it and pointing to it in your game.project.
For additional information, I can’t create a game object by right-click on the root Game Object and add game object component. I managed to get a game object here by create it on some collection, and then copy/cut it to the game object file. I set the z position to 0 before I copy/cut it.
I don’t think it related to the z position since I did not change the z position of the sprite. I just change the parent of it.
No, it is not allowed to add a game object to another. There is a “Game Object” item in the components list when doing “Add Component” but that is a bug and does not result in anything. Worse is that I just discovered, like you did, that you can copy-paste a game object into another, which is pretty severe and must be fixed.
The parent-child hierarchy of game objects that you can create in collections affects the scene graph only. Read more here:
The problem is occurred on Game Object File. When under Collection, it is fine to nest game objects (not by right-click, but by drag it to other game object). Is that normal?
Another question: are there any alternative way to organize components inside Game Object File.