RagePixel icon indicating copy to clipboard operation
RagePixel copied to clipboard

Issue with importing texture

Open hswick opened this issue 8 years ago • 1 comments

Total noob at Unity so this may completely be my fault. However, I imported the ragepixel package and made a sprite. When I go to click the animation strip Unity freezes. Console is giving this error:

UnityException: Texture 'spritesheet_1' is not readable, the texture memory can not be accessed from scripts. You can make the texture readable in the Texture Import Settings. RagePixelSpriteSheet.getPreviewImage (Int32 rowIndex, Int32 cellIndex, Int32 width, Int32 height, Boolean selected, Color selectedBorder) (at Assets/RagePixel/Code/RagePixelSpriteSheet.cs:416) RagePixelAnimStripGUI.Refresh () (at Assets/RagePixel/Editor/RagePixelAnimStripGUI.cs:250) RagePixelAnimStripGUI.get_animStripTexture () (at Assets/RagePixel/Editor/RagePixelAnimStripGUI.cs:36) RagePixelSpriteEditor.HandleAnimationGUI () (at Assets/RagePixel/Editor/RagePixelSpriteEditor.cs:1153) RagePixelSpriteEditor.OnSceneGUI () (at Assets/RagePixel/Editor/RagePixelSpriteEditor.cs:535) System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232) System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115) UnityEditor.SceneView.CallOnSceneGUI () (at /Users/builduser/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:2001) UnityEditor.SceneView.HandleSelectionAndOnSceneGUI () (at /Users/builduser/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:1359) UnityEditor.SceneView.OnGUI () (at /Users/builduser/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:1192) System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)

hswick avatar Sep 17 '15 21:09 hswick