WolvenKit / WolvenKit

Community Mod editor/creator for REDengine games.
http://redmodding.org/
GNU General Public License v3.0
941 stars 168 forks source link

Add check for non `.mltemplate` paths when converting `.mlsetup` from json #2036

Open notaspirit opened 3 days ago

notaspirit commented 3 days ago

Is your feature request related to a problem? Please describe. If you try to use anything other than .mltemplate as the material in mlsetupbuilder and use that in game the game crashes on save load, but no warnings or errors are given anywhere, not in wkit nor in mlsetupbuilder.

Describe the solution you'd like When trying to convert an .mlsetup from json that has an incorrect or unsupported base material it should throw an error, or at the very least a warning

seberoth commented 3 days ago

I'm against it. Not going to start implementing data validation logic to the json import.