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

Package: AI Planner

-

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)

  1. Resolution Note:

    Will be resolved in 0.4 when Trait will use a new serialization system

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.