#Entities errors I have not seen before
1 messages · Page 1 of 1 (latest)
Looks like from the search provider
Top level scope allocation is permitted only on the main thread.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Unity.Collections.NativeArray`1<Unity.Entities.Editor.EntityDiffer/ChunkShadow>:Allocate (int,Unity.Collections.Allocator,Unity.Collections.NativeArray`1<Unity.Entities.Editor.EntityDiffer/ChunkShadow>&)
Unity.Collections.NativeArray`1<Unity.Entities.Editor.EntityDiffer/ChunkShadow>:.ctor (int,Unity.Collections.Allocator,Unity.Collections.NativeArrayOptions)
Unity.Collections.CollectionHelper:CreateNativeArray<Unity.Entities.Editor.EntityDiffer/ChunkShadow> (int,Unity.Collections.AllocatorManager/AllocatorHandle,Unity.Collections.NativeArrayOptions) (at ./Packages/com.unity.collections@2.1.4/Unity.Collections/CollectionHelper.cs:311)
Unity.Collections.LowLevel.Unsafe.UnsafeParallelHashMap`2<ulong, Unity.Entities.Editor.EntityDiffer/ChunkShadow>:GetValueArray (Unity.Collections.AllocatorManager/AllocatorHandle) (at ./Packages/com.unity.collections@2.1.4/Unity.Collections/UnsafeParallelHashMap.cs:1331)
Unity.Collections.NativeParallelHashMap`2<ulong, Unity.Entities.Editor.EntityDiffer/ChunkShadow>:GetValueArray (Unity.Collections.AllocatorManager/AllocatorHandle) (at ./Packages/com.unity.collections@2.1.4/Unity.Collections/NativeParallelHashMap.cs:357)```
Unity.Entities.Editor.HierarchyEntityChangeTracker:Dispose () (at ./Library/PackageCache/com.unity.entities@1.0.14/Unity.Entities.Editor/Hierarchy/Model/ChangeTracking/HierarchyEntityChangeTracker.cs:223)
Unity.Entities.Editor.HierarchyUpdater:Dispose () (at ./Library/PackageCache/com.unity.entities@1.0.14/Unity.Entities.Editor/Hierarchy/Model/HierarchyUpdater.cs:172)
Unity.Entities.Editor.Hierarchy:Dispose () (at ./Library/PackageCache/com.unity.entities@1.0.14/Unity.Entities.Editor/Hierarchy/Model/Hierarchy.cs:376)
Unity.Entities.Editor.HierarchySearchProvider:OnDisable () (at ./Library/PackageCache/com.unity.entities@1.0.14/Unity.Entities.Editor/Search/HierarchySearchProvider.cs:111)
UnityEditor.Search.SearchContext:Finalize ()```
Followed by
Unity.Collections.NativeArray`1[T].Allocate (System.Int32 length, Unity.Collections.Allocator allocator, Unity.Collections.NativeArray`1[T]& array) (at <e97d84204f8d4aef92b538c5bab948f1>:0)
Unity.Collections.NativeArray`1[T]..ctor (System.Int32 length, Unity.Collections.Allocator allocator, Unity.Collections.NativeArrayOptions options) (at <e97d84204f8d4aef92b538c5bab948f1>:0)
Unity.Collections.CollectionHelper.CreateNativeArray[T] (System.Int32 length, Unity.Collections.AllocatorManager+AllocatorHandle allocator, Unity.Collections.NativeArrayOptions options) (at ./Packages/com.unity.collections@2.1.4/Unity.Collections/CollectionHelper.cs:311)
Unity.Collections.LowLevel.Unsafe.UnsafeParallelHashMap`2[TKey,TValue].GetValueArray (Unity.Collections.AllocatorManager+AllocatorHandle allocator) (at ./Packages/com.unity.collections@2.1.4/Unity.Collections/UnsafeParallelHashMap.cs:1331)
Unity.Collections.NativeParallelHashMap`2[TKey,TValue].GetValueArray (Unity.Collections.AllocatorManager+AllocatorHandle allocator) (at ./Packages/com.unity.collections@2.1.4/Unity.Collections/NativeParallelHashMap.cs:357)
Unity.Entities.Editor.EntityDiffer.Dispose () (at ./Library/PackageCache/com.unity.entities@1.0.14/Unity.Entities.Editor/Hierarchy/Model/ChangeTracking/EntityDiffer.cs:111)
Unity.Entities.Editor.HierarchyUpdater.Dispose () (at ./Library/PackageCache/com.unity.entities@1.0.14/Unity.Entities.Editor/Hierarchy/Model/HierarchyUpdater.cs:172)
Unity.Entities.Editor.Hierarchy.Dispose () (at ./Library/PackageCache/com.unity.entities@1.0.14/Unity.Entities.Editor/Hierarchy/Model/Hierarchy.cs:376)
Unity.Entities.Editor.HierarchySearchProvider.OnDisable () (at ./Library/PackageCache/com.unity.entities@1.0.14/Unity.Entities.Editor/Search/HierarchySearchProvider.cs:111)
UnityEditor.Search.SearchProvider.OnDisable () (at <e1d2040f44524dcb95c1368b10b5a189>:0)
UnityEditor.Search.SearchContext:Finalize()```
Errors I have not seen before
Entities errors I have not seen before
I have this on build too :c
WinPlayerBuildProgram\il2cppOutput\cpp\GenericMethods__6.cpp:9095] UnsafeList_1_Create_TisAllocatorHandle_t3CA09720B1F89F91A8DDBA95E74C28A1EC3E3148_m15B3C94B99069D806BD807EC9E20E66A41D62067_gshared happening here
@finite widget are you using unity 2023?
no 2022.3.7
this one was a bug triggered by us messing with the temp allocator on the editor side; i believe we have a fix in flight, i forget whether it's on package side or editor side
and i guess this one is probably just cascading from the other one
but i believe that error was not firing on an earlier editor version, so if it's blocking and you can downgrade the editor, that would probably fix it. i unfortunately also forget which editor it was, but it could well be .6
.6 also fixes the bug where undocked windows will cause unity to use cpu like it's in the foreground even when it's minimized