Search Issue Tracker
Fixed in 5.4.0
Votes
116
Found in
5.1.3f1
Issue ID
722725
Regression
No
Materials lose reference to textures if loaded from Asset Bundles
How to reproduce:
1. Open attached project
2. Open scene Scenes/AtlasedSpriteParticleTest.unity
3. Go to Build/AssetBundle
4. Play the scene
- Note how the particles have no textures
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
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
DearTao
Jun 15, 2016 08:03
5.3.1f1 has this issue ,when I load level from asssetbundles ,this scene lose ligntmaps,woe need reapply shaders.
HNiwayama
Mar 11, 2016 05:40
@TRAFULGOTH wrote:
> The pink issue is because of the shaders. When you build asset bundles for a target platform, the shaders are built for that platform.
> It was my understanding that this was supposed to be fixed in 5.3, but I just ran into this problem so I guess it's still there.
I have same problem in 5.3.3p1, 5.4.0b9
UnityEditor: Mac OSX
Target: iOS
dejaime.firasoft
Feb 29, 2016 20:16
Is there any workaround? (just slightly ignoring the "Severity: 2" up there)
visionaryvr
Feb 12, 2016 01:22
Still happening in 5.3.2p1
Trafulgoth
Jan 06, 2016 21:06
@DARCYRAYNER
The pink issue is because of the shaders. When you build asset bundles for a target platform, the shaders are built for that platform. It was my understanding that this was supposed to be fixed in 5.3, but I just ran into this problem so I guess it's still there.
To fix it, use asset bundles built for your development platform in the editor, instead of bundles built for your target platform. For instance, instead of using Android bundles in the editor, I use Window64 bundles. The pink issue should go away.
yuewahchan
Dec 31, 2015 15:19
Please fix, it is annoying.
darcyrayner
Dec 26, 2015 10:29
Potentially a separate issue, but in the Mac version of the editor, any material loaded from an asset bundle, *even if assigned a built-in shader*, will turn pink. I've tested this with Asset bundles built for iOS and Android in 5.2.2f1, 5.2,3f1 and 5.3.0f4 using Mac OS X 10.10.5. This issue makes working with Asset Bundles very difficult.
Yarogleck
Dec 09, 2015 10:50
Same problem
MikeHergaarden
Dec 09, 2015 00:06
Still around in 5.3RC4
MikeHergaarden
Nov 04, 2015 14:37
Also see: http://forum.unity3d.com/threads/loading-assets-from-assetbundles-makes-assets-appear-pink-in-editor.326541/