bscotch / stitch

Tools and apps for GameMaker development: a CLI for pipeline development, a VSCode extension for coding, and more.
Other
111 stars 13 forks source link

Stitch for VSCode: Project fails to load when room has path layer with no path assigned #164

Closed W4SD closed 11 months ago

W4SD commented 11 months ago

Stitch version: 1.51.1

When room has a path layer but has no path set, stitch fails to load the project:

rm_map_parent/rm_map_parent.yy
[
  {
    "code": "invalid_type",
    "expected": "object",
    "received": "null",
    "path": [
      "layers",
      3,
      "pathId"
    ],
    "message": "Expected object, received null"
  }
]
W4SD commented 11 months ago

Assigning any path to layer solves the issue

adam-coster commented 11 months ago

Thanks for the clear report! That made it an easy fix.

The fix is live in 1.51.2+. Let me know if that doesn't resolve the problem!