Search Issue Tracker
Fixed
Votes
0
Found in [Package]
1.5.1-pre.3
Issue ID
UVSB-1258
Regression
No
[Visual Scripting] Prefab Instance and Prefab Definition options for object variable is not generated when prefabs are created from the hierarchy
Options for Prefab Instance and Prefab Definition object variables don't generate when prefabs are created by dragging and dropping gameObject from hierarchy to project window or if script machine is added as an override
Steps to Repro:
1. Create a new Project
2. Project window > Right-click > Create > Visual Scripting > Script Graph
3. Select Script Graph > Edit Graph > Dock Script Graph window
3. Hierarchy > right-click > create empty
4. Hierarchy > select GameObject > Add Component > Script Machine
5. Drag and drop and attach Script Graph to Script Machine
6. Drag and drop GameObject in the project window to create a prefab
7. Select the GameObject again in Hierarchy
8. Script graph window > Blackboard > Object Variables
Actual Result:
The options for Prefab Instance and Prefab Definition object variable don't generate
Note: Prefab Instance and Prefab DefinitionThe options show for the same GameObject when the project is restarted or when the object is deleted and readded. Very rarely they also show when the script window is closed and reopened.
Expected Result:
The options for Prefab Instance and Prefab Definition object generates in the graph
Reproducible on: 2021.2.0a4, 2021.1.0b5, 2021.1.0b1
Note: Visual Scripting was introduced in 2021.1.0b1
Package Version 1.5.1-pre.3
Environment:
Windows 10, Mac 10.15
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "GetPreferedValue" returns max value when using auto-sizing
- UI Builder doesn't update the style sheet when using "Extract inline style" right-click option
- “Assertion failed on expression” errors thrown when undoing Nodes creation with keyboard shortcut
- Crash on various stack traces when using Texture2D.CreateExternalTexture() while rendering
- Clicking on section text in Node Library > Context folder throws NullReferenceException errors
Add comment