Search Unity

  1. Looking for a job or to hire someone for a project? Check out the re-opened job forums.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Why static object's position changed when game start?

Discussion in 'Editor & General Support' started by Bodin, Jan 21, 2020.

  1. Bodin

    Bodin

    Joined:
    Apr 19, 2017
    Posts:
    23
    Hi,

    I got a quite weird behavior of static game object. (Unity 2018.3.0f2)

    There's 1 of the object in scene that set to be static. and when I click the play button.
    ,the position & scale of this object will change to be very far away from the camera view.

    but if it set to be non-static, it will stay the same position.
    This object & it's parent have no animation or any script to control its position. I can't find the reason why its position only change when set to static.

    This is the video of the object I'm talking about ( it named Cube_Lava (1) )

    anyone have an idea?

    Thanks in advance & Best regards,
    Bodin
     
unityunity