Search Issue Tracker
Fixed in 1.2.0
Votes
1
Found in [Package]
2019.1.0b9
2019.3.0a4
Issue ID
1158283
Regression
Yes
[Timeline] NullReferenceException occurs on selecting SignalEmitter preset asset
NullReferenceException occurs on selecting SignalEmitter preset asset.
Steps to repro:
1. Open the attached project.
2. Windows > Sequencing > Timeline.
3. Select Cube in the Hierarchy.
4. Click on Vertical Ellipsis(Three Vertical Dots) on playable track.
5. Add Signal Emitter > Create Preset of Signal Emitter and Save.
6. Select newly created Preset Asset in the Project Window.
Actual Result:
NullReferenceException occurs.
Expected Result:
The Exception should not occur in the console.
Reproducible in:
2019.3.0a4, 2019.2.0b4, 2019.1.0b9.
Working Fine in:
2019.1.0b8.
Environment:
Windows & Mac.
NOTE: Signal Emitter is introduced in 2019.1.
Stacktrace:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Timeline.Signals.SignalEmitterInspector.GetBoundGameObject (UnityEngine.Timeline.TrackAsset track, UnityEngine.Playables.PlayableDirector associatedDirector) (at E:/Setup/Unity 2019.3.0a4/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.timeline/Editor/Signals/SignalEmitterInspector.cs:372)
UnityEditor.Timeline.Signals.SignalEmitterInspector.UpdateState () (at E:/Setup/Unity 2019.3.0a4/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.timeline/Editor/Signals/SignalEmitterInspector.cs:148)
UnityEditor.Timeline.Signals.SignalEmitterInspector.OnEnable () (at E:/Setup/Unity 2019.3.0a4/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.timeline/Editor/Signals/SignalEmitterInspector.cs:72)
UnityEditor.Presets.PresetEditor:OnEnable()
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment