0
Under review

Texture 'reflections' is not readable

QuiteNice 10 years ago updated by Freya Holmér (Developer) 10 years ago 1
UnityException: Texture 'Reflections' is not readable, the texture memory can not be accessed from scripts. You can make the texture readable in the Texture Import Settings.
UnityEngine.Cubemap.GetPixels (CubemapFace face) (at C:/BuildAgent/work/d3d49558e4d408f4/artifacts/EditorGenerated/TextureBindings.cs:358)
ShaderForge.SFN_Cubemap.RenderToTexture ()
ShaderForge.SFN_Cubemap.DeserializeSpecialData (System.String key, System.String value)
ShaderForge.SF_Parser.DeserializeNode (System.String row, System.Collections.Generic.List`1& linkList)
ShaderForge.SF_Parser.LoadFromNodeData (System.String data, System.String& missingNode)
ShaderForge.SF_Parser.ParseNodeDataFromShader (ShaderForge.SF_Editor editor, UnityEngine.Shader s)
ShaderForge.SF_Editor.InitializeInstance (UnityEngine.Shader initShader)
ShaderForge.SF_Editor.Init (UnityEngine.Shader initShader)
ShaderForgeMaterialInspector.OnInspectorGUI ()
UnityEditor.InspectorWindow.DrawEditors (Boolean isRepaintEvent, UnityEditor.Editor[] editors, Boolean eyeDropperDirty) (at C:/BuildAgent/work/d3d49558e4d408f4/Editor/Mono/Inspector/InspectorWindow.cs:850)
UnityEditor.DockArea:OnGUI()


This was with trying to use a cubemap created with Unity's RenderToCubemap script
https://docs.unity3d.com/Documentation/ScriptRefer...
maybe another suggestions for creating cubemaps in unity that does work?
Under review
Right, this is because cubemaps need to be readable in order for Shader Forge to render them. Go to the cubemap import setting and make it readable to temporarily avoid this error :)