Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UTMT throws an exception when trying to save data with new tiles #1816

Closed
Senjay-id opened this issue Jun 28, 2024 · 2 comments
Closed

UTMT throws an exception when trying to save data with new tiles #1816

Senjay-id opened this issue Jun 28, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Senjay-id
Copy link

Describe the bug

When trying to save the data with tiles being added using a script it throws an error
The layer tile isn't even added to the room

Reproducing steps

  1. Open the data.win and run the attached script file inside utmt
    script.zip

  2. Save the data
    image

Setup Details

  1. Latest bleeding edge
  2. Windows 10 Latest
  3. ZERO Sievert
@Senjay-id Senjay-id added the bug Something isn't working label Jun 28, 2024
@Miepee
Copy link
Contributor

Miepee commented Jul 12, 2024

This is working as expected. See the documentation:

    /// <summary>
    /// The list of layers this room uses. Used in Game Maker Studio: 2 only, as <see cref="Backgrounds"/> and <see cref="Tiles"/> are empty there.
    /// </summary>
    public UndertalePointerList<Layer> Layers { get => _layers; set { _layers = value; UpdateBGColorLayer(); OnPropertyChanged(); } }
    ```
@Miepee Miepee closed this as not planned Won't fix, can't repro, duplicate, stale Jul 12, 2024
@Senjay-id
Copy link
Author

All this time I'm using a wrong function.... welp tyvm for taking a look at it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
2 participants