Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
0.2.2-preview.1
Issue ID
1227102
Regression
No
[AIPlanner] Traits FieldValue default values are not reset after updating the trait via inspector
How to reproduce:
1. Open attached project "2019.3.4f1-788974.zip"
2. Open "TraitDefinition.asset" file with notepad
3. In Project window, select "TraitDefinition"
4. In Inspector window, change "Fields" -> "Default" to 999
5. Save the scene
6. Compare the default values in 'TraitDefinition.asset' before and after step 4-5
Expected result: m_FloatValue: 999 and other values are empty or 0
Actual result: m_FloatValue: 999 and other values remain how they were
Reproducible with: 2019.3.6f1, 2020.1.0b3, 2020.2.0a2 (0.2.0-preview.4, 0.2.2-preview.1)
Could not test with: 2017.4, 2018.4 (AI Planner package was not yet released)
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
- [VFX Graph] ArcCone Direction computation is wrong in Base Mode
- [Android] [Galaxy Tab] A singular Pen touch logs a Pen touch event and a singular finger touch event when logged using "VisualElement.RegisterCallback" with "Pointer(Up/Down)Event"
- Crash on D3D12DescriptorCache::Deallocate or vkGetInstanceProcAddr when loading RenderDoc in a specific Scene
- [HDRP] Lit material preview is rendered incorrectly with a mask map
- The "LerpWhiteTo" missing function displays an error when the Shadows.hlsl shader is included in a Shader file
Resolution Note:
Will be resolved in 0.4 when Trait will use a new serialization system