I just can't stop breaking stuff.
Two of the characters I've made cause issues when trying to load another character file - the current character unloads, but the new one doesn't appear, and the object tree on the right is empty. At that point, you have to load a character again to have it loaded properly. Both characters are using textures made in Substance painter; one in jpg, other in png format.
Reproducing the issue several times in one run may cause the game to lock up in Processing
state, and forced application restart is necessary.
I've isolated the source of the issue to the NormalOcclusion
layer in general TextureBuilder
menu. Removing that layer, or deselecting all normal maps from submeshes, stops the issue from ocurring. I'm in the process of trying different combinations to find the culprit.
Error log: https://pastebin.com/ikX53KMa
Line 2485 is the moment you try to load another character.
Character files: https://drive.google.com/drive/folders/1_qeKrffmAqfXDJM-J33nSXCvxOaiWO-n?usp=sharing
Steps to reproduce:
0. Start up the game
1. Load one of the provided characters
2. Attempt to load another character or use a template - previous character disappears, but selected one does not appear
3. Try to load a character again - characters should load normally