Question by
jeremy11 · Oct 16, 2015 at 04:17 PM ·
javascripttexture2d
Unity AssetPreview.GetAssetPreview not compiling
I am at the end of my patience i have tried every thing : Saving the texture before compiling
Getting the texture at runtime
Saving an asset as a material with a texture in it and then loading but all to no evail
When i try to compile the unity project to webgl i get an error saying that the assetpreview.GetAssetPreview is not a valid identifier. People have said that, that function call only works when playing in the editor i have tried importing unity editor but that is a whole other mess.
thanks in advance
what i am trying to do is get asset previews of my gameobjects at runtime
Comment
Your answer