Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Question Load the same scene multiple times

Discussion in 'Windows' started by wechat_os_Qy02O8KF-s1NNL90pTlxkQhxg, Oct 26, 2023.

  1. wechat_os_Qy02O8KF-s1NNL90pTlxkQhxg

    wechat_os_Qy02O8KF-s1NNL90pTlxkQhxg

    Joined:
    Mar 23, 2023
    Posts:
    67
    In the main scene, I will instantiate many objects, push the video stream to the web side through Render streaming, when the browser refreshes the page, my unity scene will reload the main scene to complete the initialization of the scene, if repeated refresh, each refresh will reload the main scene again. Does this implementation cause performance problems? Will resources used by instantiated objects in the scene be automatically released when the scene is reloaded?