Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Are my Alembic problems preventing my project from building?

Discussion in 'Editor & General Support' started by Reverend-Speed, Oct 9, 2019.

  1. Reverend-Speed

    Reverend-Speed

    Joined:
    Mar 28, 2011
    Posts:
    181
    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:

    Code (CSharp):
    1. NullReferenceException: Object reference not set to an instance of an object
    2. 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)
    3. 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)
    4. 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)
    5. UnityEngine.Formats.Alembic.Importer.AlembicStreamPlayer.OnEnable () (at Library/PackageCache/com.unity.formats.alembic@1.0.5/Runtime/Scripts/Importer/AlembicStreamPlayer.cs:137)
    6. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
    The full list of errors can be seen here:
    upload_2019-10-9_11-0-33.png

    Can anybody help me out with this? It's a serious show-stopper, and we're scheduled to ship shortly.

    Thanks in advance,

    --Rev