editor2-issues icon indicating copy to clipboard operation
editor2-issues copied to clipboard

Unable to build

Open joseph-montanez opened this issue 4 years ago • 2 comments

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 time2020-03-03T08:34:30.874440
Defold channeleditor-alpha
Defold editor sha95fcc9ca28d33583c7103c40c0c54cc73143e322
Defold engine sha5295afb3878441fb12f497df8831148525dcfb10
Defold version1.2.166
Error1c17e1c556b84a698d5be7a563094e1f
GPUIntel(R) UHD Graphics 620
GPU Driver4.5.0 - Build 24.20.100.6025
Java version11.0.1+13
OS archamd64
OS nameWindows 10
OS version10.0

joseph-montanez avatar Mar 22 '20 09:03 joseph-montanez

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.

joseph-montanez avatar Mar 23 '20 03:03 joseph-montanez

Correct, that is a parsing error. Good that you found the reason!

britzl avatar Apr 23 '20 12:04 britzl