defold / editor2-issues

DEPRECATED
44 stars 4 forks source link

Crash when requiring a module from another module #1784

Open kgoyon opened 6 years ago

kgoyon commented 6 years ago

Expected behaviour

Actual behaviour

java.lang.AssertionError: Assert failed: Cycle detected on node type editor.code.script/ScriptNode and output :build-targets (not (contains? (:in-production ctx) [node-id label]))

Steps to reproduce

Require module A in module B and require module B in module A


Build time2018-03-27T12:14:51.162708
Defold channeleditor-alpha
Defold editor shabe5ad9bcfc77cf528dd40574bf5fc2f0c400a19a
Defold engine shae3f2a48e6495946eb8aede3c843471bb037976aa
Defold version1.2.124
Error51fdc44aa03c4d798c5aa54f7742fe3b
GPUIntel(R) Iris(TM) Plus Graphics 640
GPU Driver2.1 INTEL-10.32.48
Java version1.8.0_102-b14
OS archx86_64
OS nameMac OS X
OS version10.13.4