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
- [URP] Invalid update of shader stripping settings
- [HDRP] Errors on Shader stripper that do not stripp shaders.
- Usage of Adaptive Probe Volumes throws a lot of IndexOutOfRangeException and Assertion Failed errors
- Prefab overrides don't recover missing managed references
- Trail Renderer visual doesn't match the positions of vertices when they have been offset
Resolution Note:
Will be resolved in 0.4 when Trait will use a new serialization system