Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Unity crashes on test play

Discussion in 'Editor & General Support' started by kirrwed, Mar 11, 2022.

  1. kirrwed

    kirrwed

    Joined:
    Jan 15, 2022
    Posts:
    12
    Is there a known fix to Unity crashing when clicking the playback to test? I'm relative noob and have been going through a pretty basic tutorial, and after latest "test play" attempt, I get the rainbow pinwheel of death. And it never goes into test-play mode. I upgraded from 2020.3.25 to 2020.3.30 and both crash on test play, even after I configured my project to open in 3.30. Is processor a possibility? What other info is relevant to troubleshoot? As it is, I literally cannot continue my project.

    Using Mac High Sierra
    iMac (Retina 4K, 21.5-inch, Late 2015)
    Processor 3.1 GHz Intel Core i5
    Graphics Intel Iris Pro Graphics 6200 1536 MB
     
  2. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Does this happen on an empty/new project also? If not, you might have an infinite loop in your game, or other logic error.
     
    kirrwed likes this.
  3. kirrwed

    kirrwed

    Joined:
    Jan 15, 2022
    Posts:
    12
    Thank you for this suggestion. Doing so led me to go back and disable the latest scripts I had added to an object and that allowed the test play to work. So I think I at least narrowed it down to that specific script. Thanks for the help.
     
  4. prvaak

    prvaak

    Joined:
    Jul 22, 2017
    Posts:
    1
    I just had the same problem. It was caused by a Stack Overflow Exception due to an infinite recursion in one of my functions.

    There was a stack trace in Editor.log that pointed me to the problematic function.