I’m trying to change the position of an Image in OnPopulateMesh, but I get this error:
“Trying to add GameObject (Image) for graphic rebuild while we are already inside a graphic rebuild loop. This is not supported.”
I’ve tried moving the code to avoid the error, but OnPopulateMesh is where it should be. It works correctly, and it’s not in an update loop. Is there anything I can do to disable the error? Is there a function that behaves like OnPopulateMesh (only called once when the object changes) that I could use instead? GraphicUpdateComplete was the most promising thing that I found, but it still generated the same error.
Yes the cube is within the scene view ... you can see the screen shot that cube x,y,z all set 0.Also if camera is out of range with cube then it should not be display on game area too ...
Thank you so much for this, it saved my project.
– TEDDGames