Search Issue Tracker

Fixed in 2021.2.X

Votes

12

Found in

2018.4

2019.3.15f1

2020.2

Issue ID

1258244

Regression

No

"PlayerLoop internal function has been called recursively" error is thrown when calling NewScene() from the Update function

Scene Management

-

How to reproduce:
1. Open user-submitted project (PlayerLoopRecursively.zip)
2. Open the SampleScene

Expected result: no errors are thrown
Actual result: "PlayerLoop internal function has been called recursively" error is thrown

Reproducible with: 2018.4.24f1, 2019.4.2f1, 2020.1.0b14, 2020.2.0a15

Notes:
Full error - An abnormal situation has occurred: the PlayerLoop internal function has been called recursively. Please contact Customer Support with a sample project so that we can reproduce the problem and troubleshoot it.
UnityEditor.SceneManagement.EditorSceneManager:NewScene (UnityEditor.SceneManagement.NewSceneSetup,UnityEditor.SceneManagement.NewSceneMode)
ProblematicScript:Update () (at Assets/ProblematicScript.cs:18)

  1. Response avatar

    Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0a16

Comments (11)

  1. 327363147c3028362d3476633a7177b2?d=mm

    Braza

    Jul 05, 2020 19:18

    I face this issue with recent 2019.4.1f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.