jonlab / NewAtlantis

http://www.newatlantis.world/
9 stars 6 forks source link

About Shaders #50

Open sachaamm opened 8 years ago

sachaamm commented 8 years ago

So actually , i'm customizing my own shaders , but I'm asking if anybody found a solution to load a shader integrated to an AssetBundle ? (In a build , not in the editor) We still have the possibility to link shaders in the App by include them in the Resources folder , which means that we have to share ALL shaders and build them in an App ( ex: if you want to see my space then you have to include the shaders I used in your built App )

jonlab commented 8 years ago

As already discussed, this is a Unity bug : http://issuetracker.unity3d.com/issues/materials-lose-reference-to-textures-if-loaded-from-asset-bundles http://forum.unity3d.com/threads/loading-assets-from-assetbundles-makes-assets-appear-pink-in-editor.326541/page-2#post-2442009

I am looking at a workaround.