- Home /
How can I fix my Alembic file / 'stream descriptor'?
Hi there,
Currently having issues with Alembic files in Unity. Occasionally they seem to be losing their connection to their 'stream descriptor'. See below -
I can fix this temporarily by dragging in a new copy of the prefab and copying the Stream Player from the new copy to the gameObject with problems, moving the copied component up to the top of the Inspector stack and the removing the old, broken Alembic Stream Player... but then I get the following error while attempting (and failing) to build my project:
NullReferenceException: Object reference not set to an instance of an object
UnityEngine.Formats.Alembic.Importer.AlembicStream.UpdateAbcTree (UnityEngine.Formats.Alembic.Sdk.aiContext ctx, UnityEngine.Formats.Alembic.Importer.AlembicTreeNode node, System.Double time, System.Boolean createMissingNodes, System.Boolean initialImport) (at Library/PackageCache/com.unity.formats.alembic@1.0.5/Runtime/Scripts/Importer/AlembicStream.cs:194)
UnityEngine.Formats.Alembic.Importer.AlembicStream.AbcLoad (System.Boolean createMissingNodes, System.Boolean initialImport) (at Library/PackageCache/com.unity.formats.alembic@1.0.5/Runtime/Scripts/Importer/AlembicStream.cs:144)
UnityEngine.Formats.Alembic.Importer.AlembicStreamPlayer.LoadStream (System.Boolean createMissingNodes) (at Library/PackageCache/com.unity.formats.alembic@1.0.5/Runtime/Scripts/Importer/AlembicStreamPlayer.cs:75)
UnityEngine.Formats.Alembic.Importer.AlembicStreamPlayer.OnEnable () (at Library/PackageCache/com.unity.formats.alembic@1.0.5/Runtime/Scripts/Importer/AlembicStreamPlayer.cs:137)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Can anybody help me out with this? It's a serious show-stopper, and we're scheduled to ship shortly.
Thanks in advance,
--Rev
Your answer
Follow this Question
Related Questions
Animations don't work properly 1 Answer
Broken animation in URP project. 2 Answers
Animations not working 0 Answers
Daz studio model eyelashes are not following the body 0 Answers
Unity Build error 2 Answers