Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.

    Read our full announcement for more information and let us know if you have any questions.

Bug Timeline Crashes Editor on starting VFX after last package update

Discussion in 'Editor & General Support' started by John_Leorid, Dec 5, 2020.

  1. John_Leorid


    Nov 5, 2012
    I made a Timeline which plays some sounds, some animations and enables various VFX Graph Objects. 95% of the time, it crashes since I updated the packages (all packages. including timeline and probably the HD Render Pipeline / VFX Graph)

    Log says:

    Code (CSharp):
    1. Exception: VFXSpawnerState : SetWrapValue is reserved to CreateWrapper object
    2.   at UnityEngine.VFX.VFXSpawnerState.SetWrapValue (System.IntPtr ptr) [0x0000c] in <a69dc1db85a441c59c35d8730b5f7877>:0
    3. (Filename: <a69dc1db85a441c59c35d8730b5f7877> Line: 0)
    5. Exception: VFXSpawnerState : SetWrapValue is reserved to CreateWrapper object
    6.   at UnityEngine.VFX.VFXSpawnerState.SetWrapValue (System.IntPtr ptr) [0x0000c] in <a69dc1db85a441c59c35d8730b5f7877>:0
    7. (Filename: <a69dc1db85a441c59c35d8730b5f7877> Line: 0)
    9. * Assertion at ..\mono\metadata\loader.c:2253, condition `data != NULL' not met
    It never happend before the update. I didn't touch the timeline or any of its graphs.
    Code for triggering the timeline (simple box collider trigger, telling the timeline to Start) also wasn't changed.

    It clearly has to do with the update because nothing else changed.

    I post it here because I googled "Unity "SetWrapValue"" and this only led to the CSharp Reference of Unity, so if anyone else discovers this but, he may end up here on this thread.

    Unity Version: 2020.1.2f1