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
- [Vulkan] Crash on with multiple stack traces when rendering large Terrain with specific hardware
- Crash on SkinnedMeshRendererManager when interacting with a prefab generated with uncombined meshes using Synty Sidekick Character Creator
- Crash on folly::detail::safe_assert_terminate_v when updating the Meta XR SDK Packages
- The text font falls back on a different font depending on the fallback font used
- Template is opened in Isolation when opening it in Context and users Save the UI Document when prompted to do so in UI Builder
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.