If I understand this correctly, the texture needs to be 140x198; however, the texture is actually 132x197. That's why it's throwing exceptions and loading the default game sprites.
EDIT: Nevermind, I fixed the error (different mod), but the sprites still look like vanilla sprites.
5 comments
[Error : Unity Log] ArgumentException: Could not create sprite (0, 0, 140, 198) from a 132x197 texture.
Stack trace:
UnityEngine.Sprite.Create (UnityEngine.Texture2D texture, UnityEngine.Rect rect, UnityEngine.Vector2 pivot, System.Single pixelsPerUnit, System.UInt32 extrude, UnityEngine.SpriteMeshType meshType, UnityEngine.Vector4 border, System.Boolean generateFallbackPhysicsShape) (at <97fdf0a75ab94da9a7e5188c186e574d>:0)
CustomTextures.BepInExPlugin.TryGetReplacementSprite (UnityEngine.Sprite oldSprite) (at <ce5c7e4ade9748a2b3e44c603ca35f13>:0)
CustomTextures.BepInExPlugin.FindSpritesInObject (System.Object c) (at <ce5c7e4ade9748a2b3e44c603ca35f13>:0)
CustomTextures.BepInExPlugin.SceneManager_sceneLoaded (UnityEngine.SceneManagement.Scene arg0, UnityEngine.SceneManagement.LoadSceneMode arg1) (at <ce5c7e4ade9748a2b3e44c603ca35f13>:0)
UnityEngine.SceneManagement.SceneManager.Internal_SceneLoaded (UnityEngine.SceneManagement.Scene scene, UnityEngine.SceneManagement.LoadSceneMode mode) (at <97fdf0a75ab94da9a7e5188c186e574d>:0)
If I understand this correctly, the texture needs to be 140x198; however, the texture is actually 132x197. That's why it's throwing exceptions and loading the default game sprites.
EDIT: Nevermind, I fixed the error (different mod), but the sprites still look like vanilla sprites.