Search Unity

Question What causes SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.'?

Discussion in 'Editor & General Support' started by VardenEE, May 8, 2022.

  1. VardenEE

    VardenEE

    Joined:
    Jul 23, 2019
    Posts:
    13
    Hello,

    My app which worked until this weekend no longer works when built. It still works perfectly in the Editor.

    * Title is now inaccurate because I discovered on another thread I could get a better stack trace by using the PDB option in the build

    I've examined the Player.log in the TMP directory but it shows nothing that makes sense to me. The stack trace ends like the following, but the full file is attached.

    It crashes when launched (straight after the 'Made in Unity' screen). The crash handler shows up briefly and disappears and the sound stutters for ~2 seconds before it closes.

    Code (CSharp):
    1.  
    2. 0x00007FFEFE004983 (UnityPlayer) TerrainRenderer::ForceSplitParent
    3. 0x00007FFEFE004994 (UnityPlayer) TerrainRenderer::ForceSplitParent
    4. 0x00007FFEFE003E6E (UnityPlayer) TerrainRenderer::EnforceLodTransitions
    5. 0x00007FFEFE003EDE (UnityPlayer) TerrainRenderer::EnforceLodTransitions
    6. 0x00007FFEFE003EDE (UnityPlayer) TerrainRenderer::EnforceLodTransitions
    7. 0x00007FFEFDFCC6E8 (UnityPlayer) TerrainManager::CullAllTerrains
    8. 0x00007FFEFCF9AE31 (UnityPlayer) Camera::CustomCull
    9. 0x00007FFEFCFA6A47 (UnityPlayer) RenderManager::RenderCameras
    10. 0x00007FFEFD46A1CA (UnityPlayer) PlayerRender
    11. 0x00007FFEFD4655A0 (UnityPlayer) `InitPlayerLoopCallbacks'::`2'::PostLateUpdateFinishFrameRenderingRegistrator::Forward
    12. 0x00007FFEFD4538AE (UnityPlayer) ExecutePlayerLoop
    13. 0x00007FFEFD45397F (UnityPlayer) ExecutePlayerLoop
    14. 0x00007FFEFD4578A2 (UnityPlayer) PlayerLoop
    15. 0x00007FFEFD989C8F (UnityPlayer) PerformMainLoop
    16. 0x00007FFEFD98885B (UnityPlayer) MainMessageLoop
    17. 0x00007FFEFD98D4D9 (UnityPlayer) UnityMainImpl
    18. 0x00007FFEFD98F10B (UnityPlayer) UnityMain
    19. 0x00007FF6513511F2 ( - Scripting 2022) __scrt_common_main_seh
    20. 0x00007FFFC68B54E0 (KERNEL32) BaseThreadInitThunk
    21. 0x00007FFFC762485B (ntdll) RtlUserThreadStart
    22.  

    Could anyone point me in the right direction to fix this? Everything in the scene and player settings looks good to me. I have already restarted the PC too. I've also cleared textures on the entire terrain and repainted them
     

    Attached Files:

    Last edited: May 8, 2022