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
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
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/