This repository has been archived by the owner on Mar 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 26
【严重】重载任意骨骼时失败 #6
Labels
Comments
当任意函数二次调用 问题由 接下来到org.lwjgl.opengl/GL11的第1403行 最后到org.lwjgl.opengl/GLContext的第132行 以上是表面流程 |
以下是Debug的详细记录 情况:第一次加载成功 情况:进行第二次加载 |
问题比较明显,调用方法的线程发生了改变 |
问题解决,通过GDX调用即可 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
重载骨骼失败,可能的错误为 (旧版本时)
Exception in thread "JavaFX Application Thread" java.lang.RuntimeException: Region not found in atlas: cloak_back1 (weighted mesh attachment: cloak_back1)
at com.esotericsoftware.spine32.attachments.AtlasAttachmentLoader.newWeightedMeshAttachment(AtlasAttachmentLoader.java:36)
at com.esotericsoftware.spine32.SkeletonBinary.readAttachment(SkeletonBinary.java:368)
at com.esotericsoftware.spine32.SkeletonBinary.readSkin(SkeletonBinary.java:233)
at com.esotericsoftware.spine32.SkeletonBinary.readSkeletonData(SkeletonBinary.java:167)
at com.QYun.Spine.Spine32.loadSkel(Spine32.java:38)
at com.QYun.Spine.Spine32.lambda$listeners$8(Spine32.java:150)
at com.sun.javafx.binding.ExpressionHelper$SingleChange.fireValueChangedEvent(ExpressionHelper.java:181)
at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
at javafx.beans.property.BooleanPropertyBase.fireValueChangedEvent(BooleanPropertyBase.java:104)
at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:111)
at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:145)
at com.QYun.Spine.SuperSpine.setIsReload(SuperSpine.java:36)
at com.QYun.SuperSpineViewer.RuntimesLoader.init(RuntimesLoader.java:169)
at com.QYun.SuperSpineViewer.GUI.ExporterController.B_Open(ExporterController.java:77)
......
可能的报错(新版本),主要问题
Exception in thread "JavaFX Application Thread" java.lang.RuntimeException: No OpenGL context found in the current thread.
at org.lwjgl.opengl.GLContext.getCapabilities(GLContext.java:124)
at org.lwjgl.opengl.GL11.glGenTextures(GL11.java:1403)
at com.badlogic.gdx.backends.lwjgl.LwjglGL20.glGenTexture(LwjglGL20.java:348)
at com.badlogic.gdx.graphics.Texture.(Texture.java:142)
at com.badlogic.gdx.graphics.Texture.(Texture.java:122)
at com.badlogic.gdx.graphics.g2d.TextureAtlas.load(TextureAtlas.java:253)
at com.badlogic.gdx.graphics.g2d.TextureAtlas.(TextureAtlas.java:245)
at com.QYun.Spine.Standard$1.(Standard.java:42)
at com.QYun.Spine.Standard.loadSkel(Standard.java:42)
at com.QYun.Spine.Standard.lambda$listeners$8(Standard.java:181)
at com.sun.javafx.binding.ExpressionHelper$SingleChange.fireValueChangedEvent(ExpressionHelper.java:181)
at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
at javafx.beans.property.BooleanPropertyBase.fireValueChangedEvent(BooleanPropertyBase.java:104)
at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:111)
at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:145)
at com.QYun.Spine.SuperSpine.setIsReload(SuperSpine.java:36)
at com.QYun.SuperSpineViewer.RuntimesLoader.init(RuntimesLoader.java:147)
at com.QYun.SuperSpineViewer.GUI.ExporterController.B_Open(ExporterController.java:77)
......
The text was updated successfully, but these errors were encountered: