#(IN-31808) [ECS 1.0.0-pre.15] ArgumentException: Cannot find TypeIndex for type hash 7881543491081

1 messages · Page 1 of 1 (latest)

verbal belfry
#

@vagrant shoal Suddenly I get this error at player runtime. I just check type hash 7881543491081840453 is Unity.Rendering.PerInstanceCullingTag.

Unity.Entities.Serialization.SerializeUtility.ReadTypeArray (Unity.Entities.Serialization.BinaryReader reader, Unity.Entities.Serialization.DotsSerializationReader dotsReader) (at <00000000000000000000000000000000>:0)
Unity.Entities.Serialization.SerializeUtility.EndDeserializeWorld (Unity.Entities.ExclusiveEntityTransaction manager, Unity.Entities.Serialization.DotsSerializationReader dotsReader, Unity.Entities.Serialization.SerializeUtility+WorldDeserializationStatus& status, Unity.Entities.Serialization.SerializeUtility+WorldDeserializationResult& deserializationResult, System.Object[] unityObjects) (at <00000000000000000000000000000000>:0)
Unity.Scenes.AsyncLoadSceneOperation+AsyncLoadSceneJob.Execute () (at <00000000000000000000000000000000>:0)
Unity.Jobs.IJobExtensions+JobStruct`1+ExecuteJobFunction[T].Invoke (T& data, System.IntPtr additionalPtr, System.IntPtr bufferRangePatchData, Unity.Jobs.LowLevel.Unsafe.JobRanges& ranges, System.Int32 jobIndex) (at <00000000000000000000000000000000>:0)
Unity.Scenes.SceneSectionStreamingSystem:UpdateLoadOperation(SystemState&, AsyncLoadSceneOperation, World, Entity, Boolean)
Unity.Scenes.SceneSectionStreamingSystem:ProcessActiveStreams(SystemState&)
Unity.Scenes.SceneSectionStreamingSystem:OnUpdate()
Unity.Entities.SystemBase:Update()
Unity.Entities.ComponentSystemGroup:UpdateAllSystems()
Unity.Entities.SystemBase:Update()
Unity.Entities.ComponentSystemGroup:UpdateAllSystems()
Unity.Entities.SystemBase:Update()```
rugged pine
#

there's a workaround included while they try figure it out

vagrant shoal
#

internal theory is it’s a bug in the main unity build pipe which is tickled by dots

verbal belfry
vagrant shoal
#

the workaround is to use that type (or probably any type from unity.entities.graphics.asmdef) in a monobehaviour

#

it may have been a regression in 22.2.5

#

(or in some recent dot release, anyway)

verbal belfry
vagrant shoal
#

Did you try the workaround?

verbal belfry
vagrant shoal
#

well, that works too. Anyway this particular bug is already tracked internally

#

More reports won’t hurt of course

verbal belfry
#

( IN-31808) [ECS 1.0.0-pre.15] ArgumentException: Cannot find TypeIndex for type hash 7881543491081

#

(IN-31808) [ECS 1.0.0-pre.15] ArgumentException: Cannot find TypeIndex for type hash 7881543491081

verbal belfry