Field not found: circle (games.rednblack.editor.renderer.data.SimpleImageVO)
Closed this issue · 1 comments
taluks commented
Exception in thread "LWJGL Application" com.badlogic.gdx.utils.SerializationException: Field not found: circle (games.rednblack.editor.renderer.data.SimpleImageVO)
Serialization trace:
{}.composite.sImages[1].circle
sImages (games.rednblack.editor.renderer.data.CompositeVO)
composite (games.rednblack.editor.renderer.data.SceneVO)
at com.badlogic.gdx.utils.Json.readFields(Json.java:892)
at com.badlogic.gdx.utils.Json.readValue(Json.java:1073)
at com.badlogic.gdx.utils.Json.readValue(Json.java:1108)
at com.badlogic.gdx.utils.Json.readFields(Json.java:901)
at com.badlogic.gdx.utils.Json.readValue(Json.java:1073)
at com.badlogic.gdx.utils.Json.readFields(Json.java:901)
at com.badlogic.gdx.utils.Json.readValue(Json.java:1073)
at com.badlogic.gdx.utils.Json.fromJson(Json.java:828)
at games.rednblack.editor.renderer.resources.ResourceManager.loadSceneVO(ResourceManager.java:373)
at games.rednblack.editor.renderer.resources.ResourceManager.initAllResources(ResourceManager.java:98)
at games.rednblack.editor.renderer.SceneLoader.<init>(SceneLoader.java:69)
at com.zench.game.screens.GameScreen.show(GameScreen.java:74)
Steps to reproduce the behavior:
- create Circle Shape in HyperLap2D Editor
- load scene
runtime-libgdx:0.0.7
fgnm commented
Hello! Circle Shapes are available only since v0.0.8
(I guess you're using Editor from snapshots), which is incompatible with runtime v0.0.7
. In general, Editor version and runtime version should always match: runtime v0.0.7
works only with Editor v0.0.7
, while latest Editor snapshot always works with latest runtime snapshot.
TL;DR Upgrade runtime to 0.0.8-SNAPSHOT
;)