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
- Create Node Menu is not closing and “NullReferenceException: Object reference not set to an instance of an object” error is thrown when Shader Graph window is closed
- Assert error is thrown when the Editor language is set to one of the experimental ones in an HDRP project
- A BatchDrawCommand is using a pass from the shader “Universal Render Pipeline/Particles/Lit” that is not SRP Batcher compatible
- The Scene does not get rendered in the Player when MSAA is enabled and more than one Camera is used
- Crash on mono_object_get_class when generating Font Atlas of a specific font file
Resolution Note:
Will be resolved in 0.4 when Trait will use a new serialization system