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
Comments (34)
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
- WebGL build dependencies are not refreshed until the Editor is restarted
- “Audio Random Container” allows adding unlimited number in “Audio Clips” numeric field, causing Editor to freeze
- In Deferred rendering path, mixed lights don't render when enabling "Use Rendering Layers" in the Decal renderer feature
- [Windows] Special characters in file names are sorted to the end of the alphabet in the Project window
- Information box icons are not contained within the information box bounds in Render Pipeline Converter window
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/
MikeHergaarden
Nov 04, 2015 14:20
Still around in 5.3b5 (All assetbundle objects are pink if their shader is in a seperate assetbundle).
This is greatly hurting our performance and builds.