Search Issue Tracker
Fixed
Votes
2
Found in [Package]
1.6.2
Issue ID
TB-65
Regression
No
MissingReferenceException is thrown when using RigBuilder inside a Prefab.
How to reproduce:
1. Open the attached "repro-seq-animrigging.zip" project
2. Double click on the RootPrefab Timeline asset in the Assets folder
3. Double click on the RootPrefab prefab asset in the Assets folder
4. Go back to the scene
5. Click on the Console
Expected result: No errors
Actual result: MissingReferenceException is thrown
Reproducible with: 1.0.3 (2020.3.20f1, 2021.1.25f1), 1.1.1 (2021.2.0b15, 2022.1.0a12)
Couldn't test: 2019.4.31f1 (Package errors)
Note:
- Original Bug from forums: https://forum.unity.com/threads/bug-possible-conflict-between-rigbuilder-and-sequences.1134019/
- When downgrading from 2021.2 or 2022.1 into 2021.1 or lower, you might encounter an error with a missing package
- To fix the missing package issue just remove com.unity.feature.characters-animation from the project, then download the Animation Rigging package
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Clicking on the project's title does not open the project when the long path tooltip is shown
- [Linux] "Select Preset..." window closes without creating another preset when "Create New Preset..." is double-clicked again after creating the first preset
- “Screen position out of view frustum” error is thrown and Game window renders black when Camera Clipping Planes fields are set to “Infinity”
- Foldouts in the Library section of UI Builder do not open when clicked on title and Tree View is enabled
- VisualElement with DynamicTransform and animated scale from 0 is not rendered until hovered when parent uses GroupTransform
akent99
Oct 07, 2021 17:35
In case helpful, I took my full project (not the one uploaded), selected "Prefab > Unpack completely" on the characters using the animation rigging (so the character with animation rigging was no longer a prefab) and still got errors in the console.
NullReferenceException: Object reference not set to an instance of an object
UnityEngine.Animations.Rigging.RigBuilder.UpdatePreviewGraph (UnityEngine.Playables.PlayableGraph graph) (at Library/PackageCache/com.unity.animation.rigging@1.1.1/Runtime/AnimationRig/RigBuilder.cs:178)
UnityEngine.Timeline.AnimationPreviewUpdateCallback.Evaluate () (at Library/PackageCache/com.unity.timeline@1.6.2/Runtime/Animation/AnimationPreviewUpdateCallback.cs:40)
UnityEngine.Timeline.TimelinePlayable.Evaluate (UnityEngine.Playables.Playable playable, UnityEngine.Playables.FrameData frameData) (at Library/PackageCache/com.unity.timeline@1.6.2/Runtime/TimelinePlayable.cs:288)
UnityEngine.Timeline.TimelinePlayable.PrepareFrame (UnityEngine.Playables.Playable playable, UnityEngine.Playables.FrameData info) (at Library/PackageCache/com.unity.timeline@1.6.2/Runtime/TimelinePlayable.cs:249)
UnityEngine.Timeline.DirectorControlPlayable:ProcessFrame(Playable, FrameData, Object) (at Library/PackageCache/com.unity.timeline@1.6.2/Runtime/Playables/DirectorControlPlayable.cs:123)