• Hi Guest!

    We are extremely excited to announce the release of our first Beta1.1 and the first release of our Public AddonKit!
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. For access to the Public AddonKit you must be a Creator tier member. Once subscribed, download instructions can be found here.

    Click here for information and guides regarding the VaM2 beta. Join our Discord server for more announcements and community discussion about VaM2.
  • Hi Guest!

    VaM2 Resource Categories have now been added to the Hub! For information on posting VaM2 resources and details about VaM2 related changes to our Community Forums, please see our official announcement here.

Fixed (1.20.1.5) SubScene Animation Can't Save Triggers

vamX

Well-known member
Featured Contributor
Joined
Jun 29, 2020
Messages
239
Solutions
2
Reactions
683
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