UndertaleModTool icon indicating copy to clipboard operation
UndertaleModTool copied to clipboard

Unable to cast object of type 'Reference`1[UndertaleModLib.Models.UndertaleVariable]' to type 'UndertaleModLib.Models.UndertaleInstruction'.

Open tatzio opened this issue 3 years ago • 0 comments

Describe the bug

When I attempt to open up the data.win file for the game ZERO Sievert, I get the following error:

Unable to cast object of type 'Reference`1[UndertaleModLib.Models.UndertaleVariable]' to type 'UndertaleModLib.Models.UndertaleInstruction'.
at 029F2EA4 while reading object UndertaleModLib.Models.UndertaleVariable in chunk VARI

Reproducing steps

  1. Open ZERO Sievert data.win file in the tool.
  2. You now see the above error message.

Setup Details

  1. 0.4.0.4 and latest bleeding edge build
  2. Windows 10 64-bit
  3. ZERO Sievert

tatzio avatar Aug 29 '22 05:08 tatzio