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.
Reproduction Steps
Open the game through Visual Studio.
Wait until the mod loads
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 takes place in the
CagedDomain
module.Description
The memory stream object parameter "buffer" that is mentioned in the![image](https://github.com/Solaestas/Everglow/assets/70764728/ccc5f390-bffe-4609-8052-822815bafc77)
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 aSystem.ArgumentNullException
.Reproduction Steps
For debugging: Place a Breakpoint on line 55, hover your mouse over
path
, and click "continue". Repeat that until you get theSystem.ArgumentNullException
, then hover overpath
to see what file path should have been read.This happens 100% of the time.