Search Unity

1 Stackwalker warning per tree prefab

Discussion in 'Editor & General Support' started by LukeDawn, Mar 5, 2022.

  1. LukeDawn

    LukeDawn

    Joined:
    Nov 10, 2016
    Posts:
    404
    Any time I highlight a terrain or view a terrain-data in the project view, I get one of these warnings per tree prototype on every terrain. I've tried changing trees, but nothing seems to cure it. Same warning when playing/stopping, and in build the same errors appear in the player.log so the player log is massive.

    Code (csharp):
    1.  
    2.  
    3. 0x00007ff7d08150cd (Unity) StackWalker::GetCurrentCallstack
    4. 0x00007ff7d081be29 (Unity) StackWalker::ShowCallstack
    5. 0x00007ff7d177ddf3 (Unity) GetStacktrace
    6. 0x00007ff7d1e0328d (Unity) DebugStringToFile
    7. 0x00007ff7d0fd9fd3 (Unity) TreeDatabase::RefreshPrototypes
    8. 0x00007ff7d0fddcce (Unity) TerrainDataScriptingInterface::SetTreePrototypes
    9. 0x00007ff7cfd01b2b (Unity) TerrainData_Set_Custom_PropTreePrototypes
    10. 0x0000025a6e08179c (Mono JIT Code) (wrapper managed-to-native) UnityEngine.TerrainData:set_treePrototypes (UnityEngine.TerrainData,UnityEngine.TreePrototype[])
    11. 0x0000025a6e081523 (Mono JIT Code) UnityEditor.TreeWizard:DoApply ()
    12. 0x0000025a6ca2ec63 (Mono JIT Code) UnityEditor.TreeWizard:OnWizardUpdate ()
    13. 0x0000025a6e080fde (Mono JIT Code) UnityEditor.TreeWizard:InitializeDefaults (UnityEngine.Terrain,int)
    14. 0x0000025a6ca2e1b3 (Mono JIT Code) UnityEditor.TerrainTreeContextMenus:EditTree (UnityEditor.MenuCommand)
    15. 0x0000025a639b1378 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_object (object,intptr,intptr,intptr)
    16. 0x00007ffbb7d0e034 (mono-2.0-bdwgc) [mini-runtime.c:3445] mono_jit_runtime_invoke
    17. 0x00007ffbb7c4e724 (mono-2.0-bdwgc) [object.c:3064] do_runtime_invoke
    18. 0x00007ffbb7c4e8bc (mono-2.0-bdwgc) [object.c:3111] mono_runtime_invoke
    19. 0x00007ff7d07399a4 (Unity) scripting_method_invoke
    20. 0x00007ff7d07345c4 (Unity) ScriptingInvocation::Invoke
    21. 0x00007ff7d07346ae (Unity) ScriptingInvocation::InvokeChecked
    22. 0x00007ff7d15520a5 (Unity) ScriptCommands::Execute
    23. 0x00007ff7d1170b10 (Unity) MenuController::ExecuteMenuItem
    24. 0x00007ff7d179d732 (Unity) ShowDelayedContextMenu
    25. 0x00007ff7d17adba6 (Unity) GUIView::OnInputEvent
    26. 0x00007ff7d1268a7a (Unity) GUIView::ProcessInputEvent
    27. 0x00007ff7d17a6a1e (Unity) GUIView::DoPaint
    28. 0x00007ff7d17afe0d (Unity) GUIView::RepaintAll
    29. 0x00007ff7d133a6a7 (Unity) Application::TickTimer
    30. 0x00007ff7d1783f8a (Unity) MainMessageLoop
    31. 0x00007ff7d178885b (Unity) WinMain
    32. 0x00007ff7d2aa01de (Unity) __scrt_common_main_seh
    33. 0x00007ffbfa7f7034 (KERNEL32) BaseThreadInitThunk
    34. 0x00007ffbfbda2651 (ntdll) RtlUserThreadStart
    35.  
    36.  
    And in the player log:-

    Code (csharp):
    1.  
    2. 0x00007ffb7ada157d (UnityPlayer) UnityMain
    3. 0x00007ffb7ada6989 (UnityPlayer) UnityMain
    4. 0x00007ffb7ad88cb0 (UnityPlayer) UnityMain
    5. 0x00007ffb7b770372 (UnityPlayer) UnityMain
    6. 0x00007ffb7b274e75 (UnityPlayer) UnityMain
    7. 0x00007ffb7b250924 (UnityPlayer) UnityMain
    8. 0x00007ffb7abe070e (UnityPlayer)
    9. 0x00007ffb7abe0ad1 (UnityPlayer)
    10. 0x00007ffb7abc23fc (UnityPlayer)
    11. 0x00007ffb7abc29a4 (UnityPlayer)
    12. 0x00007ffb7abc55ef (UnityPlayer)
    13. 0x00007ffb7a6d6541 (UnityPlayer)
    14. 0x00007ffb7aaf0ce7 (UnityPlayer)
    15. 0x00007ffb7a573271 (UnityPlayer)
    16. 0x00007ffb7a572c9a (UnityPlayer)
    17. 0x00007ffb7a573e41 (UnityPlayer)
    18. 0x00007ffb7a560c43 (UnityPlayer)
    19. 0x00007ffb7a1f5d4b (UnityPlayer)
    20. 0x00007ffb7a1f4119 (UnityPlayer)
    21. 0x00007ffb7a22ac2c (UnityPlayer)
    22. 0x00007ffb7a20ac70 (UnityPlayer)
    23. 0x00007ffb7a2162d5 (UnityPlayer)
    24. 0x00007ffb7a6d996a (UnityPlayer)
    25. 0x00007ffb7a6d4d40 (UnityPlayer)
    26. 0x00007ffb7a6c304e (UnityPlayer)
    27. 0x00007ffb7a6c311f (UnityPlayer)
    28. 0x00007ffb7a6c7042 (UnityPlayer)
    29. 0x00007ffb7abf4f59 (UnityPlayer)
    30. 0x00007ffb7abf3afb (UnityPlayer)
    31. 0x00007ffb7abf8789 (UnityPlayer)
    32. 0x00007ffb7abfa3bb (UnityPlayer) UnityMain
    33. 0x00007ff66dab11f2 (MyProject)
    34. 0x00007ffbfa7f7034 (KERNEL32) BaseThreadInitThunk
    35. 0x00007ffbfbda2651 (ntdll) RtlUserThreadStart
    36.  
     
    Last edited: Mar 5, 2022
  2. LukeDawn

    LukeDawn

    Joined:
    Nov 10, 2016
    Posts:
    404
    This is definitely a terrain issue, as remove terrains from the equation and no more warnings/errors.

    Unity 2022.2.x