• Hi Guest!

    We have posted a new VaM2 dev log on Patreon, starting a monthly cadence of written progress updates between Beta releases. Highlights include the new Gizmos System, Selection Carousel, and Modes System with Context-Specific Editing. Beta1.2 is 15 of 21 items complete.

    Read the full post on Patreon, or follow progress on the public Trello roadmap.

Fixed (1.20.1.5) SubScene Animation Can't Save Triggers

vamX

Well-known member
Featured Contributor
Joined
Jun 29, 2020
Messages
255
Solutions
2
Reactions
692
If you add a trigger that references an Atom in a subscene, the subscene will fail while saving, not saving the animation.
 
!> Warning: trigger referencing atom SubScene_Lighting/LIFT is outside of subscene and cannot be saved
!> Exception during SubScene Store of AnimationMaster: System.NullReferenceException: Object reference not set to an instance of an object
at TriggerActionDiscrete.GetJSON (System.String subScenePrefix) [0x00000] in <filename unknown>:0
at Trigger.GetJSON (System.String subScenePrefix) [0x00000] in <filename unknown>:0
at AnimationTimelineTrigger.GetJSON (System.String subScenePrefix) [0x00000] in <filename unknown>:0
at MotionAnimationMaster.GetJSON (Boolean includePhysical, Boolean includeAppearance, Boolean forceStore) [0x00000] in <filename unknown>:0
at Atom.StoreForSubScene (SimpleJSON.JSONClass jc, Boolean isTheSubSceneAtom) [0x00000] in <filename unknown>:0
 
This atom was a part of the subscene, even though VaM says otherwise.
 
Thanks for the report. I will look into it.
 
This is fixed in upcoming 1.20.1.5 release. All motion animation triggers on SubScene were broken which was a pretty big oversight on my part. Thanks for the report!
 
Back
Top Bottom