Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Unity Standalone crash when async scene load

Discussion in 'Editor & General Support' started by StonedLover, May 15, 2019.

  1. StonedLover

    StonedLover

    Joined:
    Apr 16, 2014
    Posts:
    47
    As soon I start ASync Level Load the Client crash. Yesterday it was working without an issue.
    Wasnt able to locate the change which cause this problem yet.
    Unity Verison 2018.3.12f1
    OS Windows 10
    Output.log and Crash content attached
     

    Attached Files:

  2. MSplitz-PsychoK

    MSplitz-PsychoK

    Joined:
    May 16, 2015
    Posts:
    1,278
    The stack trace of the crash shows the issue occurs in CalculateBounds() on line 190 in Building.cs when it tries to access a mesh. These are just guesses, but it could be that you're trying to access a mesh before a newly loaded MeshFilter is ready, or maybe you're trying to access a mesh too late while unloading a MeshFilter.

    Good luck!