defold / editor2-issues

DEPRECATED
45 stars 4 forks source link

Having a collection proxy pointing to the collection it is in gives an error #2439

Open Visne opened 5 years ago

Visne commented 5 years ago

Expected behaviour

Start the game

Actual behaviour

The error message: java.lang.AssertionError: Assert failed: Cycle detected on node type editor.collection/CollectionNode and output :build-targets (not (contains? (:in-production ctx) [node-id label]))

Steps to reproduce

Having a collection proxy point to the collection it is currently in.


Build time2019-01-28T15:36:49.949805
Defold channeleditor-alpha
Defold editor shac043948fbf2c57e88d4ca921ea9ab135081bb7e7
Defold engine sha9f376d88408bad9088a4187d4f874ae4767a0185
Defold version1.2.145
Error7d4d24c00f6b4c009c08f5fbd8238c5f
GPUGeForce GTX 1060/PCIe/SSE2
GPU Driver4.6.0 NVIDIA 417.35
Java version1.8.0_102-b14
OS archamd64
OS nameWindows 10
OS version10.0
Visne commented 5 years ago

This actually doesn't seem to be the problem. I get this error each time if have a specific collection in another collection.

erikangelin-king commented 5 years ago

This is a very common issue that gets more and more embarrassing :) Judging from the stack trace, in your case it looks like your main collection has an embedded game object referencing a collection proxy file that points to the original main collection.