Search Issue Tracker
Not Reproducible
Votes
1
Found in [Package]
0.5.3
Issue ID
1123907
Regression
No
[Addressables] Exception: Invalid path in RawDataProvider on first launch of the built project after Building Player Content
How to reproduce:
1. Create a new Unity project
2. Add the Addressables package
3. Create a prefab and mark it as 'Addressable'
5. In the Addressables window select Build > Build Player Content
6. Build And Run the project, close it after it has loaded
7. Check the output_log.txt or player.log
Expected result: there are no exceptions in the log
Actual result: there are two exceptions in the log
Reproducible with: 2018.3.5f1, 2019.1.0b2
Notes:
The exceptions only appear the first time the player is launched. Any subsequent launches will not produce these exceptions
-
Gentlymad_Anselm
Jul 02, 2021 12:26
I have the same problem with package version 1.16.19. I use a bundle from a separate Unity version (addon to our game) and load the addon's catalog in the game via Addressables.LoadContentCatalogAsync(catalogPath). The first time a new catalog is loaded, that error occurs but everything is loaded as desired.
After the call (at least I assume that this is the trigger) there is a copy of the catalog.json/hash files in the game's appdata (local low) com.unity.addressables folder (as already stated by SF-RB). As soon as those copies are available, the error no longer occurs.I haven't checked what happens, if I update the bundle but still use the same filename. I am a bit afraid that it still uses the cached old files without updating them to the new content.
-
sf-rb
Mar 22, 2021 18:12
It's still 100% reproducable, if you simply delete the folder "com.unity.addressables" inside AppData/LocalLow/Company and try to load some content addressable package from the editor in another project. Only happens on the first time the code is excecuted and still loads the addressable assetbundle as usual.
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
- UI Overlay Image gets darker on each Camera when multiple Cameras are used
- Assertion failed on expression: 'scriptedImporterClass == SCRIPTING_NULL error when opening the standalone profiler window
- Disabled assets in Import Unity Package window aren't tracked but count as being selected by user
- [Windows] Crash on GetManagerFromContext when video is playing and creating High Definition 3D Projects after FMOD failed to switch back to normal output Error appeared
- GC Alloc produced when adding items to MultiColumnListView with Auto Assign Binding
Resolution Note:
Not reproducible at 1.1.x and higher.