I’m getting corrupted textures on some of my units when using Packed Play Mode. This appears to be a problem specifically caused by addressables. I’d file a bug report, but my game is like 100 GB so I wouldn’t be able to upload it.
Using version 1.1.7, with dependency scriptable build pipeline 1.5.2
This is similar to the issue I had when using resources
Notes:
Using addressables in fast mode: Problem does not occur
Not only the zombie is corrupted, also the magic missile the player shoots (see screenshot) and the loot drops are corrupted. In the screenshot the skeleton is corrupted too.
If I simplify the scene, the first wave of zombies is not corrupted, but the second wave that spawns is
Problem occurs the same way in the editor and in builds, so long as I use packed play mode
The same zombie in two other, simpler scenes works fine. The other two scenes are loaded the same way. It is only in this scene that has many other assets
Tried build/clean already
@RakNet by default it’s pack together. This option is present in the asset group. Click on the default group and check the inspector. You must this in the last scriptable object field.
yes, like that, though this shows the size after compression.
The system should support bundles up to 4GB at this point, but I’m not sure if there are some potential complications if your uncompressed size pushes 4GB. I don’t think our compression will cut things down in half, but I don’t know.
So I’m mostly sure it’s one of two things. In either case, the fix is either “pack separately” as you’ve done, or spit up your assets into a handful of groups (each can be pack together).
the bundle is somehow too big. Seems odd, but it’s possible.
some sort of issue with how much RAM you need to allot for that one big file. Keep in mind (as noted here https://docs.unity3d.com/Packages/com.unity.addressables@1.1/manual/MemoryManagement.html) that while you can load things individually from a bundle, they will only unload once everything in that bundle is done being used. Which means there could be times when you have all of that large file in memory, even if you don’t think you’re using it all together. Depending on the system, this has potential to cause issues.
Those are both guesses though. All in all, I’m happy splitting up your files solves the problem.