Search Issue Tracker
Fixed
Fixed in 1.0.8
Votes
0
Found in [Package]
1.0.7
Issue ID
BEHAVB-214
Regression
Yes
NodeRegistry invalid generic type warning when changing a Blackboard variable to VectorInt type
Steps to reproduce:
- Create a node.
- Create or add manually a Blackboard variable type (any type).
- Edit the variable type to a VectorInt type (VectorInt2, VectorInt3).
- A warning is logged in console, warning the user of an invalid generic type used as BlackboardVariable type.
- Using the variable still works, despite the confusing warning.
Actual results:
The following warning is logged in the console:
{code:java}
Invalid generic type for field TestVariable of type UnityEngine.Vector2Int on TestAction. BlackboardVariable types must derive from UnityEngine.Object.
UnityEngine.Debug:LogWarning (object)
Unity.Behavior.NodeRegistry:GetNodeVariables (System.Type) (at /com.unity.ai.designer-monorepo/Packages/com.unity.behavior/Authoring/UI/NodeRegistry.cs:304) {code}
Expected results:
User should not get warned by using a type on their BlackboardVariable that we're supporting.
Reproducible with versions:
1.0.3
Not reproducible with versions:
1.0.2
Tested on (OS):
Notes:
- Reported by a user here: [https://discussions.unity.com/t/behavior-package-1-0-7-released-changelog-inside/1573165/35]
- Can get a 100% repro by manually adding a VectorInt type to a custom node.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Scaled Backgrounds List and dropdown text are enabled while Scaled Backgrounds field is disabled in IMGUI Debugger window
- Editor crashes when large value is entered in Scaled Backgrounds field of IMGUI Debugger window
- "Custom Function" Node "Input" type changes do not immediately show mistmatch errors when set to an incompatible type in Shader Graph
- My Assets list is populated with Asset Packages when setting how many Packages to display before clicking the Load button
- Hub shows 6.0 as Latest LTS when opening a project after deleting its 6.3 Editor version
Add comment