Unity-Technologies / com.unity.demoteam.hair

An integrated solution for authoring / importing / simulating / rendering strand-based hair in Unity.
Other
710 stars 96 forks source link

Crash #76

Open beijingjiuyi opened 8 months ago

beijingjiuyi commented 8 months ago

The new hair works well in editor, but after I build the project and run the exe, it will crash for serveral minutes. The crash stack is below: ========== OUTPUTTING STACK TRACE ==================

0x00007FFA4A961D62 (UnityPlayer) block_remove 0x00007FFA4A9625B4 (UnityPlayer) tlsf_free 0x00007FFA49A47293 (UnityPlayer) DynamicHeapAllocator::Deallocate 0x00007FFA49A4CCE2 (UnityPlayer) DelayedPointerDeletionManager::CleanupPendingMainThreadPointersInternal 0x00007FFA49A4E6A9 (UnityPlayer) DualThreadAllocator::Allocate 0x00007FFA49A4A738 (UnityPlayer) MemoryManager::Allocate 0x00007FFA49D0E1FF (UnityPlayer) std::_Tree<std::_Tmap_traits<ShaderLab::FastPropertyName,UnityPropertySheet::UnityTexEnv,std::less,std::allocator<std::pair<ShaderLab::FastPropertyName const ,UnityPropertySheet::UnityTexEnv> >,0> >::_Copy_nodes<std::_Tree<std::_Tmap_traits<ShaderLab::FastPropertyName,UnityPropertySheet::UnityTexEnv,std::less,std::allocator<std::pair<ShaderLab::FastPropertyName const ,UnityPropertySheet::UnityTexEnv> >,0> >::_Copy_tag> 0x00007FFA49CF626D (UnityPlayer) UnityPropertySheet::operator= 0x00007FFA49CF9C27 (UnityPlayer) Material::CopyPropertiesFromMaterial 0x00007FFA498711A4 (UnityPlayer) Material_CUSTOM_CopyPropertiesFromMaterial_Injected 0x00007FFA327C15A2 (GameAssembly) [C:\Users\Metawall\Desktop\livestream_unity\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Unity.DemoTeam.Hair.Runtime.cpp:15809] HairInstance_UpdateRendererState_mDF3D80D342772090F4792EBA1923809AFDDF3EA9 0x00007FFA327C1FA6 (GameAssembly) [C:\Users\Metawall\Desktop\livestream_unity\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Unity.DemoTeam.Hair.Runtime.cpp:15608] HairInstance_UpdateRenderingState_m960FD4D03064646506BBED4A8CED51AA88A46A23 0x00007FFA327BE097 (GameAssembly) [C:\Users\Metawall\Desktop\livestream_unity\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Unity.DemoTeam.Hair.Runtime.cpp:17025] HairInstance_DispatchUpdate_mAC55AB8ED0B9F3DC491755DF0E301B9A1F0EB798 0x00007FFA30EAD327 (GameAssembly) [C:\Users\Metawall\Desktop\livestream_unity\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\CustomSchedulingScriptsDef.cpp:2512] CustomScriptSchedulingControl_ScheduleAsyncHairInstances_m4E4C6D77F6BE89FBF593A199CBA18EE55D94EE19 0x00007FFA30EACC5E (GameAssembly) [C:\Users\Metawall\Desktop\livestream_unity\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\CustomSchedulingScriptsDef.cpp:2233] CustomScriptSchedulingControl_LateUpdate_m9F3172269F84EAF1DD415361DBF6A506E7809978 0x00007FFA30B954A6 (GameAssembly) [C:\Program Files\Unity\Hub\Editor\2023.1.16f1c1\Editor\Data\il2cpp\libil2cpp\vm\Runtime.cpp:640] il2cpp::vm::Runtime::InvokeWithThrow 0x00007FFA30B94F49 (GameAssembly) [C:\Program Files\Unity\Hub\Editor\2023.1.16f1c1\Editor\Data\il2cpp\libil2cpp\vm\Runtime.cpp:625] il2cpp::vm::Runtime::Invoke 0x00007FFA49E85854 (UnityPlayer) MonoBehaviour::CallMethodIfAvailable 0x00007FFA49E85981 (UnityPlayer) MonoBehaviour::CallUpdateMethod 0x00007FFA49B3AAB0 (UnityPlayer) BaseBehaviourManager::CommonUpdate 0x00007FFA49CACCA7 (UnityPlayer) ExecutePlayerLoop 0x00007FFA49CACE44 (UnityPlayer) ExecutePlayerLoop 0x00007FFA49CAD244 (UnityPlayer) PlayerLoop 0x00007FFA49EFB5BB (UnityPlayer) PerformMainLoop 0x00007FFA49EFD92B (UnityPlayer) MainMessageLoop 0x00007FFA49F00CBF (UnityPlayer) UnityMainImpl 0x00007FFA49F00ECB (UnityPlayer) UnityMain 0x00007FF7F63A11F2 (MatrixHuman) __scrThe new hair works well in editor, but after I build the project and run the exe, it will crash for serveral minutes. The crash stack is below: ========== OUTPUTTING STACK TRACE ==================

0x00007FFA4A961D62 (UnityPlayer) block_remove 0x00007FFA4A9625B4 (UnityPlayer) tlsf_free 0x00007FFA49A47293 (UnityPlayer) DynamicHeapAllocator::Deallocate 0x00007FFA49A4CCE2 (UnityPlayer) DelayedPointerDeletionManager::CleanupPendingMainThreadPointersInternal 0x00007FFA49A4E6A9 (UnityPlayer) DualThreadAllocator::Allocate 0x00007FFA49A4A738 (UnityPlayer) MemoryManager::Allocate 0x00007FFA49D0E1FF (UnityPlayer) std::_Tree<std::_Tmap_traits<ShaderLab::FastPropertyName,UnityPropertySheet::UnityTexEnv,std::less,std::allocator<std::pair<ShaderLab::FastPropertyName const ,UnityPropertySheet::UnityTexEnv> >,0> >::_Copy_nodes<std::_Tree<std::_Tmap_traits<ShaderLab::FastPropertyName,UnityPropertySheet::UnityTexEnv,std::less,std::allocator<std::pair<ShaderLab::FastPropertyName const ,UnityPropertySheet::UnityTexEnv> >,0> >::_Copy_tag> 0x00007FFA49CF626D (UnityPlayer) UnityPropertySheet::operator= 0x00007FFA49CF9C27 (UnityPlayer) Material::CopyPropertiesFromMaterial 0x00007FFA498711A4 (UnityPlayer) Material_CUSTOM_CopyPropertiesFromMaterial_Injected 0x00007FFA327C15A2 (GameAssembly) [C:\Users\Metawall\Desktop\livestream_unity\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Unity.DemoTeam.Hair.Runtime.cpp:15809] HairInstance_UpdateRendererState_mDF3D80D342772090F4792EBA1923809AFDDF3EA9 0x00007FFA327C1FA6 (GameAssembly) [C:\Users\Metawall\Desktop\livestream_unity\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Unity.DemoTeam.Hair.Runtime.cpp:15608] HairInstance_UpdateRenderingState_m960FD4D03064646506BBED4A8CED51AA88A46A23 0x00007FFA327BE097 (GameAssembly) [C:\Users\Metawall\Desktop\livestream_unity\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\Unity.DemoTeam.Hair.Runtime.cpp:17025] HairInstance_DispatchUpdate_mAC55AB8ED0B9F3DC491755DF0E301B9A1F0EB798 0x00007FFA30EAD327 (GameAssembly) [C:\Users\Metawall\Desktop\livestream_unity\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\CustomSchedulingScriptsDef.cpp:2512] CustomScriptSchedulingControl_ScheduleAsyncHairInstances_m4E4C6D77F6BE89FBF593A199CBA18EE55D94EE19 0x00007FFA30EACC5E (GameAssembly) [C:\Users\Metawall\Desktop\livestream_unity\Library\Bee\artifacts\WinPlayerBuildProgram\il2cppOutput\cpp\CustomSchedulingScriptsDef.cpp:2233] CustomScriptSchedulingControl_LateUpdate_m9F3172269F84EAF1DD415361DBF6A506E7809978 0x00007FFA30B954A6 (GameAssembly) [C:\Program Files\Unity\Hub\Editor\2023.1.16f1c1\Editor\Data\il2cpp\libil2cpp\vm\Runtime.cpp:640] il2cpp::vm::Runtime::InvokeWithThrow 0x00007FFA30B94F49 (GameAssembly) [C:\Program Files\Unity\Hub\Editor\2023.1.16f1c1\Editor\Data\il2cpp\libil2cpp\vm\Runtime.cpp:625] il2cpp::vm::Runtime::Invoke 0x00007FFA49E85854 (UnityPlayer) MonoBehaviour::CallMethodIfAvailable 0x00007FFA49E85981 (UnityPlayer) MonoBehaviour::CallUpdateMethod 0x00007FFA49B3AAB0 (UnityPlayer) BaseBehaviourManager::CommonUpdate 0x00007FFA49CACCA7 (UnityPlayer) ExecutePlayerLoop 0x00007FFA49CACE44 (UnityPlayer) ExecutePlayerLoop 0x00007FFA49CAD244 (UnityPlayer) PlayerLoop 0x00007FFA49EFB5BB (UnityPlayer) PerformMainLoop 0x00007FFA49EFD92B (UnityPlayer) MainMessageLoop 0x00007FFA49F00CBF (UnityPlayer) UnityMainImpl 0x00007FFA49F00ECB (UnityPlayer) UnityMain 0x00007FF7F63A11F2 (MatrixHuman) __scrt_common_main_seh 0x00007FFB026D7344 (KERNEL32) BaseThreadInitThunk 0x00007FFB032226B1 (ntdll) RtlUserThreadStart

========== END OF STACKTRACE =================================

My unity editor version is 2013.1.16f1c1.t_common_main_seh 0x00007FFB026D7344 (KERNEL32) BaseThreadInitThunk 0x00007FFB032226B1 (ntdll) RtlUserThreadStart

========== END OF STACKTRACE =================================

My unity editor version is 2013.1.16f1c1.