[0.16.37] [Mod API] Crash on malformed mod resource path
Posted: Tue Apr 24, 2018 4:05 pm
Bug: The game crashes upon encountering a mod with a resource path not of the form "__Mod__/path/".
Steps to Reproduce: Take any mod and edit a resource path, to have either fewer or more than two underscores before or after the mod name, then launch the game.
Observed Effect: The game crashes unexpectedly with a Windows modal dialog box.
Expected Effect: The game gives the standard mod API load failure modal dialog box.
EDIT: Whoops, shouldn't have assumed the game version.
Steps to Reproduce: Take any mod and edit a resource path, to have either fewer or more than two underscores before or after the mod name, then launch the game.
Observed Effect: The game crashes unexpectedly with a Windows modal dialog box.
Expected Effect: The game gives the standard mod API load failure modal dialog box.
EDIT: Whoops, shouldn't have assumed the game version.