Search Unity

Build crashes after scene load, no errors in console

Discussion in 'Editor & General Support' started by Cambesa, May 7, 2020.

  1. Cambesa

    Cambesa

    Joined:
    Jun 6, 2011
    Posts:
    119
    Hello All,

    When I build our project that has built succesfully before, the game crashes just after scene load. In the log in the editor(development build, autoconnect profiler, script debugging, wait for managed debugger) there are no errors, I do see that the game is saved(startup save so you respawn there when you die). And I see it finds both (xbox one)controllers for multiplayer.

    When the game crashes I do see the microsoft window that allows me to debug the program with visual studio. When I click debug then, I see this error: Unhandled exception access violation reading location 0x0000000000000000.


    Does this ring a bell to someone? We're hoping to have a working build ready this weekend so any information might help us make it on time!

    I'm currently using Unity 2019.3.13f1 to attempt builds, the project files are from a 2019.3.1f1 project which I upgraded to both 2019.3.13f1 and 2020.1.0b8 to try to make a working build but it crashes in all versions. In 2019.3.1f1 it crashes slightly later, after a few seconds of walking, this seems to be around the same moment I see this error when I play it in editor: 'task.rasterData.vertexBuffer == NULL'
    However this ought to be fixed in other versions I tried: https://issuetracker.unity3d.com/is...3408.371365331.1588780930-17868355.1556646470

    See:
    Fixes are landing:


    2020.2.0a8
    2020.1.0b8


    Fixes have not yet landed in:


    2019.3
    2018.4


    But the particles are working in all projects in the editor and when I include the main menu in the build, any level except the main menu crashes shortly after scene load. The complete game is actually working in the editor without errors, it's just the build that fails without errors in the console. In version 2019.3.13f1 the vertexBuffer error does not appear.

    Kind regards,

    Yorick
     
  2. Mukundi

    Mukundi

    Joined:
    Jul 27, 2020
    Posts:
    1
    I am having the same issue with unity 2020.3.5f for mobile. have you found any fix?
     
  3. Cambesa

    Cambesa

    Joined:
    Jun 6, 2011
    Posts:
    119
    I think upgrading to a new unity fixed it