Search Issue Tracker
Fixed in 1.0.0-preview.12
Votes
0
Found in [Package]
1.0.0-preview.9
Issue ID
1287276
Regression
No
NullReferenceException is thrown when adding a Node in the VFX Graph with the UI Toolkit installed
How to reproduce:
1. Open the attached "1287276_repro.zip" project
2. Double click the "Test" VFX Asset in the Project window
3. Press the Space bar on the keyboard in the VFX Graph
4. Select any type of Node and press Enter
5. Observe the Console log
Expected result: No error messages are thrown in the Console log
Actual result: "NullReferenceException: Object reference not set to an instance of an object" error message is thrown in the Console log
Reproducible with: 1.0.0-preview.9 (2020.1.11f1)
Could not test with: 2018.4.28f1 and 2019.4.13f1 (Package is not supported), 2020.2.0b9 and 2021.1.0a2 (error CS0535: 'EditorElement' does not implement interface member 'IEditorElement.ReinitCulled(int)')
Note:
- The issue is also reproducible when creating a Node in the VFX Graph with a mouse
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
- 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
Resolution Note (fix version 1.0.0-preview.12):
This issue is fixed with 1.0.0-preview.12
https://forum.unity.com/threads/ui-toolkit-latest-version-1-0-0-preview-12.941420/