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
- [Backport] [Sprite Atlas V1] Editor crashes when calling SpriteAtlasUtility.PackAtlases
- Deterministic builds have different files when built from the same project
- PlayerBuildInterface.ExtraTypesProvider no longer provides types to IL2CPP
- Touch input is reset in Device Simulator when Unity Remote is killed
- [Vulkan] Green pixelated Visual Element area in Editor when right-clicking on the title bar
mayasarii876
Mar 08, 2022 10:05
http://103.56.148.201/
http://103.56.148.201/newmpo
http://103.56.148.201/mpo17
http://103.56.148.201/mpomm
http://103.56.148.201/mpotower
http://103.56.148.201/parisklub
http://103.56.148.201/juraganslot
http://103.56.148.201/mpo500
http://103.56.148.201/mpokick
http://103.56.148.201/mpoyes
http://103.56.148.201/xyzklub
http://103.56.148.201/betmpo
http://103.56.148.201/ogslot88
http://103.56.148.201/hoki777
http://103.56.148.201/mpojuta
http://103.56.148.201/299slot
http://103.56.148.201/mpo188
http://103.56.148.201/mpogacor
http://103.56.148.201/mpo300
http://103.56.148.201/rgo365
http://103.56.148.201/kingdom288
http://103.56.148.201/wigompo
http://103.56.148.201/mpo8899
http://103.56.148.201/mpopelangi
http://103.56.148.201/mpo555
http://103.56.148.201/dutampo
http://103.56.148.201/klik368
http://103.56.148.201/388hero
http://103.56.148.201/19dewa
http://103.56.148.201/mpoxl
http://103.56.148.201/mpoas
http://103.56.148.201/mposun
http://103.56.148.201/qqslot
http://103.56.148.201/mposport
http://103.56.148.201/dewa234
http://103.56.148.201/mesinmpo
cozyurt_unity
Jul 17, 2020 13:58
kedi maması köpek maması www.patilimama.com
augivision
Jan 28, 2020 23:12
This is still not resolved.
What's strange is I never had this issue on my old computer but now the problem exists on my new computer.
Certain models loaded from asset bundles show up as pink. Sometimes reapplying the shader does not work.
Not really sure how to fix this or what to do about it. I added shaders to always included, I tried reapplying shaders and it works for Editor but objects are still pink on Android build.
DanVioletSagmiller
Nov 19, 2019 15:45
I have added a message on the forum @Unity, to hopefully return some attention to this. https://forum.unity.com/threads/unity-shaders-getting-lost-in-2018-4-lts.779999/
Kinetic
Nov 01, 2019 01:43
Still happening in Unity 2019.1.14. Finding this issue as closed in Unity 5 is embarassing.
brinisabderrahmen93
Mar 18, 2019 10:45
this worked for me but in built game you should put a list of shaders to build in settings or put the min a built scene that can never navigate to xD`using System.Collections; using System.Collections.Generic; using UnityEngine;
this script should be putted in the parent of the asset bundle spawner and call FixeShaders Function just afterspawning the prefab from assets bundle
public class ShaderBrinisFixe : MonoBehaviour {
// Create a material from code
public void FixeSahders()
{
// Create a material with transparent diffuse shader
// assign the material to the renderer
foreach (ParticleSystemRenderer p in gameObject.GetComponentsInChildren<ParticleSystemRenderer>())
{
p.material.shader= Shader.Find(p.material.shader.name);
}
}
} `
SteveJLV
Apr 01, 2017 06:36
Just upgrade Unity and my bundel comes in but the shaders are blank. Texture name is there but in scène everything is pink. Of i manualy set shaders to standaard everything is fine. Unfortunate you can nog select all imported objects and set their shaders, thuis component disapears when multiple selecting
BoboShu
Mar 21, 2017 08:33
it still happend on 5.5.2f1
Amazi
Mar 07, 2017 06:51
Why has this been resolved when it isn't fixed? This is still occurring on my version 5.4.3f1 (pro).
Please can someone respond rather than ignoring the issue for the last two years and then falsely claiming it is fixed.
ganusajjan
Feb 28, 2017 18:27
Is it fixed with 5.4 version of Unity?? Still i'm facing this issue!!