Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.4
2019.3.1f1
2020.2
Issue ID
1220938
Regression
No
Package Version defines are not updated/re-evaluated when modifying the package.json manifest
Reproduction steps:
1. Open the attached project ("case_1220938-FailedReimport")
2. Open the repro scene ("VersionDefineTest")
3. In Hierarchy, select "VersionDefineTest" object
4. In Inspector, notice that public "VersionDefineIsWorking" variable is visible
5. In the Project tab, select "Packages/NMY Core/package.json"
6. Change the selected manifest's "Version" to "0.9.0-b"
7. Select the same "VersionDefineTest" object in the Hierarchy
Expected result: Version defines are updated and "VersionDefineIsWorking" variable is no longer visible
Actual result: Version defines are not updated and "VersionDefineIsWorking" variable is still visible
Reproducible with: 2018.4.18f1, 2019.3.6f1, 2020.1.0b2, 2020.2.0a3
Couldn't test with 2017.4 (Packman not supported)
Notes:
1. In very rare cases, the issue does not reproduce from the first attempt. In the repro project, setting "Version" back to "0.9.0-d" always reproduces the issue (the variable does not appear again)
2. Reimporting the "NMY Core" package fixes the issue
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
- Test Runner’s vertical scrollbar overlaps with the up and down arrows and upper toolbar tabs when the window is minimized
- The Input Field view is not updated when deleting lines of text
- The scrollbar does not respect empty lines in the Input Field
- “Texture Atlas Viewer“ button text overlaps another button when the UI Toolkit Debugger is narrowed
- Thresholds are no longer automatically calculated after deleting Motion fields in Blendtrees
Resolution Note:
Since the modification is not done to a script, a recompile is not triggered. A reimport of the package using the modified value is necessary to use it properly.