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. D19fdffffdb712bc69763673bb10b786?d=mm

    Alejandro-Beacon

    May 21, 2021 07:51

    Got this on 2020.3.4f1

  2. Bcf17ffb3eb9116246b7602863591732?d=mm

    dansav

    Feb 28, 2021 20:04

    I have the issue with 2019.4.4f1 running WebGL on Firefox

  3. 4857695bb8fd318774d1f826095b95fd?d=mm

    DevPoint_Mark

    Feb 22, 2021 18:56

    I think it is worth to check your other exceptions in editor for example. Because may be your app wont be crashed in editor, but in browser will generate this bug.

  4. 4857695bb8fd318774d1f826095b95fd?d=mm

    DevPoint_Mark

    Feb 22, 2021 17:57

    Reproducing on Unity 2019.4.19f1

  5. 4857695bb8fd318774d1f826095b95fd?d=mm

    DevPoint_Mark

    Feb 22, 2021 17:44

    Reproducing on Unity 2019.4.20f1.

  6. 98a9f244e04886d14719773f10f9c1a7?d=mm

    Aoedipus

    Feb 08, 2021 14:26

    Just started getting this with 2020.1.12f1 on startup in WebGl, trying to debug what recent changes may be causing it. Preventing project from loading.

  7. 97ee7264dd1a0294504814bafc10c2be?d=mm

    Skade88

    Feb 03, 2021 00:54

    I am seeing this issue in 2019.4.17f1 and 2019.4.19f1. We can reproduce in Chrome 88 on Windows, Ubuntu and MacOS

  8. Efcbbdc1e4ab360bc22158d6d10968c1?d=mm

    sgt3v

    Dec 13, 2020 15:43

    Reproducing on Unity 2020.1.17, WebGL Build on IOS 13.4

  9. E4b4d93fc190d555df118337c4abff3a?d=mm

    johanhelsing_attensi

    Dec 10, 2020 09:21

    I have customers reporting this in 2019.4.10, with chrome 87 (not edge though).

    Can't reproduce on my machine, though.

  10. Bacdee6e8c0bb82009a05a3c8c96b6bd?d=mm

    fatboynotslim

    Oct 26, 2020 01:02

    I just got this in 2019.4.11f1

    I was in a development build, with the console showing some errors.

    I clicked on one of the console buttons and got this error multiple times.

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.