Skip to content

MemoryStream buffer in ImageReader is null when reading LapisLazuliDome_shape.bmp #278

Description

@Setnour6

This takes place in the CagedDomain module.

Description

The memory stream object parameter "buffer" that is mentioned in the Read<TPixel>(path) method is supposed to return a path, but instead returns as null. During testing, "Everglow/CagedDomain/Tiles/BronzeLamp_shape.bmp" and other related file paths work, but "Everglow/CagedDomain/Tiles/LapisLazuliDome_shape.bmp" causes a System.ArgumentNullException.
image

Reproduction Steps

  1. Open the game through Visual Studio.
  2. Wait until the mod loads
  3. You should get an error

For debugging: Place a Breakpoint on line 55, hover your mouse over path, and click "continue". Repeat that until you get the System.ArgumentNullException, then hover over path to see what file path should have been read.

This happens 100% of the time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions