Running into an error when reading UI2.pack on version 41.78.16 (current one on Steam as time of writing, outside of Betas). Happens even when creating a new mod from scratch using the program.
Reading TexturePacks.
f:/steam\steamapps\common\ProjectZomboid\media\texturepacks\
Reading file: UI.pack
Reading file: UI2.pack
System.ArgumentException: The output char buffer is too small to contain the decoded characters, encoding 'Unicode (UTF-8)' fallback 'System.Text.DecoderReplacementFallback'.
Parameter name: chars
at System.Text.Encoding.ThrowCharsOverflow()
at System.Text.Encoding.ThrowCharsOverflow(DecoderNLS decoder, Boolean nothingDecoded)
at System.Text.UTF8Encoding.GetChars(Byte* bytes, Int32 byteCount, Char* chars, Int32 charCount, DecoderNLS baseDecoder)
at System.Text.DecoderNLS.GetChars(Byte* bytes, Int32 byteCount, Char* chars, Int32 charCount, Boolean flush)
at System.Text.DecoderNLS.GetChars(Byte[] bytes, Int32 byteIndex, Int32 byteCount, Char[] chars, Int32 charIndex, Boolean flush)
at System.Text.DecoderNLS.GetChars(Byte[] bytes, Int32 byteIndex, Int32 byteCount, Char[] chars, Int32 charIndex)
at System.IO.BinaryReader.InternalReadOneChar()
at System.IO.BinaryReader.Read()
at System.IO.BinaryReader.ReadChar()
at MapMapLib.MMTextures.readString(BinaryReader binReader)
at MapMapLib.MMTextures.loadFromPackFile(BinaryReader binReader, Int32 sn)
at MapMapLib.MMTextures.readPackFile(BinaryReader binReader)
at MapMapLib.MMTextures.Load(String path)
at PzEditor.DataAccess.IO.DataImporter.readTextures(String texturePackFolder)
at PzEditor.DataAccess.IO.DataImporter.Import(MediaFolderInfo mediaFolder)
Finished...
Trace doesn't contain info that would help me edit the UI2.pack to try and fix or workaround myself. Anyone knows how to deal with this?