Isnt this the same issue as before? The fix here is just so that the scene does now load even tho there’s a missing material (instead of breaking completely). That’s the log I referred to here that I added. The underlying issue is not in our code but in the compression library that we’re using. It should be fixed in a future update but that hasnt been released yet I think.
A fix is in progress/discussion will let you know when it’s available
Fantastic!
by user 420944948767227905
@Marcel_Wiessler1 did you figure this out?
by user 420944948767227905
The PR is in progress but not merged yet
I hope it will be available sometime next week
@Marcel_Wiessler1 Bump, did it get merged?
by user 420944948767227905
It did but there’s no new version yet of that package
Looking forward to seeing it! Thanks @Marcel_Wiessler1 !
by user 420944948767227905
Hello @JanG I have just updated the built pipeline package. It should automatically install the latest version when you restart Unity + do a clean install. You should see a log with v1.1.5
Let me know if that fixes the issue for you
Thanks! I’ll try it out today!
by user 420944948767227905
Where would I find that log?
by user 420944948767227905
Yes and in the unity console
The problem seems to be that not all materials are being loaded for the scene. This image (1) shows the materials being loaded. There are 28 of them.
by user 420944948767227905
This is the error message I see (2). It shows that the scene is trying to load materials outside the material array, leading to an exception.
by user 420944948767227905
The bug must be somewhere in the code that loads the materials.
Oddly, the bug does not seem to relate to particular materials. If I change the order of the scene, the error happens on different objects/Materials.
Here is the link to the scene for you @Marcel_Wiessler1 . https://drive.google.com/file/d/1gfbE23NL4zOaMSEdQr2ahtZ6IqUSurIY/view?usp=drive_link
You can reproduce the error by exporting for Production and running on a local server.
by user 420944948767227905
@Marcel_Wiessler1 do you have any idea why this happens?
by user 420944948767227905
Can you verify that you have this version running when compressing the files?
The materials being “deduplicated” is exactly what the issue is about that the pr and update should solve