#[BUG] HierarchySearchProvider crashes unity on close [fixed 2022.3.13]

1 messages · Page 1 of 1 (latest)

kind niche
#

Entities 1.1.0-pre.3
If there's ever a good time to crash, it's when you're already closing Unity - but i'm already a little sick of all the bug reporters poping up

JobsUtility_Get_Custom_PropThreadIndexCount
(wrapper managed-to-native) Unity.Jobs.LowLevel.Unsafe.JobsUtility:get_ThreadIndexCount ()
[.\Library\PackageCache\com.unity.collections@2.3.0-pre.3\Unity.Collections\UnsafeParallelHashMap.cs:280] Unity.Collections.LowLevel.Unsafe.UnsafeParallelHashMapData:GetCount (Unity.Collections.LowLevel.Unsafe.UnsafeParallelHashMapData*) 
[.\Library\PackageCache\com.unity.collections@2.3.0-pre.3\Unity.Collections\UnsafeParallelHashMap.cs:1331] Unity.Collections.LowLevel.Unsafe.UnsafeParallelHashMap`2<ulong, Unity.Entities.Editor.EntityDiffer/ChunkShadow>:GetValueArray (Unity.Collections.AllocatorManager/AllocatorHandle) 
[.\Library\PackageCache\com.unity.collections@2.3.0-pre.3\Unity.Collections\NativeParallelHashMap.cs:357] Unity.Collections.NativeParallelHashMap`2<ulong, Unity.Entities.Editor.EntityDiffer/ChunkShadow>:GetValueArray (Unity.Collections.AllocatorManager/AllocatorHandle) 
[.\Packages\com.unity.entities\Unity.Entities.Editor\Hierarchy\Model\ChangeTracking\EntityDiffer.cs:111] Unity.Entities.Editor.EntityDiffer:Dispose () 
[.\Packages\com.unity.entities\Unity.Entities.Editor\Hierarchy\Model\ChangeTracking\HierarchyEntityChangeTracker.cs:224] Unity.Entities.Editor.HierarchyEntityChangeTracker:Dispose () 
[.\Packages\com.unity.entities\Unity.Entities.Editor\Hierarchy\Model\HierarchyUpdater.cs:172] Unity.Entities.Editor.HierarchyUpdater:Dispose () 
[.\Packages\com.unity.entities\Unity.Entities.Editor\Hierarchy\Model\Hierarchy.cs:376] Unity.Entities.Editor.Hierarchy:Dispose () 
 [.\Packages\com.unity.entities\Unity.Entities.Editor\Search\HierarchySearchProvider.cs:111] Unity.Entities.Editor.HierarchySearchProvider:OnDisable ()``` 
Probably requires search window to be on screen
#

i have this window open which is probably what causes it

#

Also get this ObjectDisposedException leaving play mode with the window open

urban jackal
#

What version of the editor are you currently using?

kind niche
#

2022.3.10

urban jackal
#

Could you try 2022.3.13? A fix for a somewhat similar crash landed in that version

kind niche
#

unless a regression has been fixed with shadergraph + entities graphics, i can't really update the project to 22.3.12+ because it breaks float4x4 overrides

#

but i will test at least to confirm

#

i did just test 2023.3.0a12 and it didn't seem to have the problem

urban jackal
#

Sorry to hear that. I am not familiar with the Shadergraph and Entities Graphics issue. The crash fix initially landed in 2023.3.0a12, so it sounds like the newer 2022.3 version would likely work for you too, barring the blocker

kind niche
#

OK I can confirm it's fixed in 2022.3.13 (both the crash + the dispose on play mode issue)

#

Unfortunately my shadergraph + entities graphic still issue hasn't been (IN-59424)

#

but will close this thread