Search Issue Tracker
Fixed
Votes
0
Found in [Package]
1.8.3
Issue ID
ADDR-1197
Regression
No
[Addressables] Asset address is changed when moving the asset from Resource group to other Packed group
Reproduction steps:
1. Open the attached project ("case_1238181-ResourcePath.zip")
2. Open the Addressable Groups window
3. Inside the window, select 'Cubes/ReproCube.prefab' asset and inspect its address
3. Make 'Resources/Cubes/ReproCube.prefab' addressable
4. When asked to move to 'resources_moved', select yes
5. Inspect the moved asset's address
Expected result: Asset address remains 'Cubes/ReproCube'
Actual result: Asset address becomes 'ReproCube'
Reproducible with: 2018.4.22f1, 2019.3.12f1, 2020.1.0b8, 2020.2.0a10
Reproducible with package versions: 1.2.3, 1.8.3
Note:
Changing the MoveAssetsFromResources method from:
-- var newAddress = Path.GetFileNameWithoutExtension(oldPath.Substring(index + 10));
to:
++ int length = oldPath.Length - (index + 10 + Path.GetExtension(oldPath).Length);
++ var newAddress = oldPath.Substring(index + 10, length);
fixes the issue
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Errors "InvalidOperationException: Trying to use a texture (_InternalGradingLut)..." and “Render Graph Execution error” shown and Scene turns black when 16 or more Render Objects are used
- GameObjects in the Game View are rendered differently than in the Scene View when the Rendering Path is set to "Deferred" and Screen Space Shadows Renderer Feature is added
- Errors “InvalidOperationException: Trying to use a texture (_CameraDepthTexture)...” and “Render Graph Execution error” shown when selecting GameObjects with Mesh Renderer from the Hierarchy
- macOS stutters in a minimal project
- [Usability] HDRP Wizard calls for VR fixes when opening the HDRP Wizard a second time after they have already been applied and the Wizard has finished checking
Add comment