If a custom KAnim is provided for an equipment, the game will crash.
I believe this is due to the game attempting to Serialize the entire KAnimFile, including the Texture2D, on WearableAccessorizer component.
Problem is, modded KAnim textures are loaded differently from original textures, and fail the deserialization, leading to a softlocked world.
[15:18:20.674]  [ERROR] Exception occurred while attempting to deserialize property Int32 requestedMipmapLevel(System.Int32) on object null(UnityEngine.Texture2D). System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException at (wrapper managed-to-native) UnityEngine.Texture2D.get_requestedMipmapLevel(UnityEngine.Texture2D)
Example mod to reproduce with is Spooky Pumpkin. Creating a Halloween costume at the clothing Refashionator and equipping it to a dupe will soft lock the save game.
- Load a KAnim from files like a mod does.
- Create an equipment using this KAnim, in one of the slot types WearableAccessorizer.WearableType contains, such as Outfit.
- Equip it onto a duplicant
- Save and reload game -> crash
A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now