editor2-issues
editor2-issues copied to clipboard
Unable to build
Expected behaviour
The game will build...
Actual behaviour
I get this error.
java.util.concurrent.ExecutionException: java.lang.AssertionError: Assert failed: (not (g/error? bytecode))
java.lang.AssertionError: Assert failed: (not (g/error? bytecode))
Steps to reproduce
Try to build this project
https://github.com/joseph-montanez/RPG-map-sample
Build time | 2020-03-03T08:34:30.874440 |
Defold channel | editor-alpha |
Defold editor sha | 95fcc9ca28d33583c7103c40c0c54cc73143e322 |
Defold engine sha | 5295afb3878441fb12f497df8831148525dcfb10 |
Defold version | 1.2.166 |
Error | 1c17e1c556b84a698d5be7a563094e1f |
GPU | Intel(R) UHD Graphics 620 |
GPU Driver | 4.5.0 - Build 24.20.100.6025 |
Java version | 11.0.1+13 |
OS arch | amd64 |
OS name | Windows 10 |
OS version | 10.0 |
I was able to isolate the issue to the following:
https://github.com/joseph-montanez/RPG-map-sample/blob/master/main/tilemap.script#L72
local anim = go.property(url, "anim")
local axe = go.property(url, "axe")
local input = go.property(url, "input")
local pp = go.property(url, "pp")
local velocity = go.property(url, "velocity")
local facing = go.property(url, "facing")
local correction = go.property(url, "correction")
I should not have been using go.property
, rather go.get
. I assume this is a parsing error, since go.property triggers some special lookup outside the engine itself to display the property within the editor.
Correct, that is a parsing error. Good that you found the reason!