Open GoogleCodeExporter opened 9 years ago
I get the same :(
Original comment by wookoouk
on 23 May 2013 at 7:48
OP here. I managed to resolve my issue by downloading nightlies from LibGDX,
and also building Box2DLights from source. It now works perfectly again. :-)
Original comment by dag.kod...@gmail.com
on 23 May 2013 at 9:42
Same problem here. According to the debugging I did the problem comes from the
Usage class inside the class VertexAttributes in the package
com.badlogic.gdx.graphics. The constant values were changed and therefore
Box2dLights could not find the position attribute (and other attributes) in the
attributes array. Building Box2DLights from source with the same libgdx
version you use in your game (the latest nightly in this case) should fix the
problem.
Original comment by yaron....@gmail.com
on 23 May 2013 at 6:11
Thanks for the 'build from source' suggestion, I will keep the source checked
out in eclipse for future use.
Original comment by wookoouk
on 25 May 2013 at 5:32
Some thing. Only i've got a different exception:
Exception in thread "LWJGL Application"
com.badlogic.gdx.utils.GdxRuntimeException: java.lang.IllegalArgumentException:
color attribute must have 4 components
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:113)
Caused by: java.lang.IllegalArgumentException: color attribute must have 4
components
at com.badlogic.gdx.graphics.VertexAttributes.checkValidity(VertexAttributes.java:104)
at com.badlogic.gdx.graphics.VertexAttributes.<init>(VertexAttributes.java:52)
at com.badlogic.gdx.graphics.glutils.VertexBufferObject.<init>(VertexBufferObject.java:73)
at com.badlogic.gdx.graphics.Mesh.<init>(Mesh.java:95)
at box2dLight.RayHandler.<init>(RayHandler.java:120)
at box2dLight.RayHandler.<init>(RayHandler.java:87)
at stable.house15.TestingStableVersion.level.<init>(level.java:54)
Version box2dlights from 29 may. Error in a same place:
RayHandler rayHandler = new RayHandler(world);
Original comment by Terran20...@gmail.com
on 13 Jul 2013 at 11:10
[deleted comment]
This is a duplicate to issue #18.
As stated the issue occurs when box2dlights is not run with latest nightlies
from libGdx. The current nightly version of the Usage enum differs from the one
in the latest release.
Original comment by ber.go...@gmail.com
on 26 Aug 2013 at 9:06
Original issue reported on code.google.com by
dag.kod...@gmail.com
on 22 May 2013 at 8:06