defold / editor2-issues

DEPRECATED
44 stars 4 forks source link

No script added to a GUI produces cryptic error "ERROR:RESOURCE: Empty resource path" [DEF-2687] #721

Open subsoap opened 7 years ago

subsoap commented 7 years ago

ERROR:RESOURCE: Empty resource path doesn't happen to a blank GUI but does to a GUI with no script and a node added.

matgis-king commented 7 years ago

I am unable to reproduce this, but perhaps I'm not doing it correctly. Here's what I did:

  1. Created a Gui resource and add it to a Game Object in my main collection.
  2. Added a Box node to the Gui.

I then tried building and bundling my project. No issues. I then tried creating a Gui Script and assigning it, building, clearing the Gui Script field and building again. Still no issues.

I suspect I misunderstand what you mean. Perhaps you could provide some repro steps?

subsoap commented 7 years ago

Situation to reproduce it may be more complex. I'm sending you a zip on the Defold forum with a version of the project where it happens.

matgis-king commented 7 years ago

Zip file was attached to DEF-2687 in our internal bug tracking system for the engine.