Search Issue Tracker

Won't Fix

Votes

0

Found in [Package]

2.3.4

2.4.0

Issue ID

ABC-522

Regression

No

Crash on aiPropertyCopyData when changing a value after an Alembic file is changed externaly

Package: Alembic Importer

-

Reproduction steps:
1. Open the attached “ReproProj” project
2. Open the “Assets/Prefabs/Door.prefab“ Prefab
3. In the Hierarchy select “MainDoor“ Game Object
4. In the Inspector window, set the Alembic File path to “Assets/StreamingAssets/door.abc“
5. In the Inspector window, change “Vertex Motion Scale“ value to 0
6. Open the “Assets/door_original.blend“ file in Blender
7. Export the file as “Assets/StreamingAssets/door.abc” after changing Object Options to not include Normals
8. In the Inspector window change “Time“ value to 1

Expected result: The value is changed
Actual result: The Editor crashes

Reproducible with: 2.2.2 (2021.3.39f1), 2.3.4 (2021.3.39f1, 2022.3.34f1), 2.4.0 (6000.0.7f1)

Reproducible on: macOS 14.5 (M1 Max)
Not reproducible on: No other environment tested

First few lines of the stack trace:
#0 0x00000188eeaa60 in __pthread_kill
#1 0x9561000188e2fa30 in abort
#2 0xac23000188ed9d08 in __cxxabiv1::__aligned_malloc_with_fallback(unsigned long)
#3 0xf77800188ec9fa4 in demangling_terminate_handler()
#4 0xf336800188b681e0 in _objc_terminate()
#5 0xc60c000188ed90cc in std::__terminate(void ()())
_#6 0xe07e000188edc348 in __cxa_get_exception_ptr_
_#7 0x7d36800188edc28c in __cxxabiv1::exception_cleanup_func(_Unwind_Reason_Code, _Unwind_Exception_)
#8 0xa7300037be5f0f8 in aiPropertyCopyData
#9 0x000003c63c97e8 in UnityEngine.Formats.Alembic.Sdk.aiContext:UpdateSamples (double) [{0x372f19dd0} + 0x20] [./Library/PackageCache/com.unity.formats.alembic@2.3.4/Runtime/Scripts/Importer/AbcAPI.cs :: 354u] (0x3c63c97c8 0x3c63c97f8) [0x1257c2a80 - Unity Child Domain]
#10 0x000003c63c9764 in UnityEngine.Formats.Alembic.Importer.AlembicStream/SafeContext/UpdateSamplesJob:Execute () [{0x372f19d80} + 0x1c] [./Library/PackageCache/com.unity.formats.alembic@2.3.4/Runtime/Scripts/Importer/AlembicStream.cs :: 84u] (0x3c63c9748 0x3c63c9774) [0x1257c2a80 - Unity Child Domain]

  1. Resolution Note:

    There are no fixes planned for this Bug

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.