sr4dev / Unity-SpriteAssist

Unity Sprite mesh extension
https://github.com/sr4dev/Unity-SpriteAssist
234 stars 29 forks source link

Done: Unity 2022.2 and Sprite Atlas V2 bug #49

Closed Gasparfx closed 1 year ago

Gasparfx commented 1 year ago

Hi! Plugin is great and very useful. But i have a bug with new Unity(2022.2). Preview window is not working correctly with Sprite Atlas V2. Here are screenshots of the bug: image image

sr4dev commented 1 year ago

Thanks for letting me know. I'll take care of it.

sr4dev commented 1 year ago

I have been able to reproduce the bug and found additional critical bugs. As a result, it seems that it will take quite some time to support sprite Atlas V2 in Unity 2022.2.

https://github.com/sr4dev/Unity-SpriteAssist/blob/main/README.md#known-issues I have added Known Issue on the main page for now. I recommend not to use sprite Atlas V2 if possible. I would appreciate it if you could wait for a while until the problem is resolved.

Gasparfx commented 1 year ago

Thanks for letting us know. It seems like i can use option "Sprite Atlas V2 - Enabled For Builds" for now. Waiting for the fix.

sr4dev commented 1 year ago

I have discovered that using SpriteAtlasV1 in Unity 2022.2 may cause issues with Dynamic Batching not working(URP, Built-in both). The issue of Dynamic Batching not working when using spriteAtlasV1 in Unity 2022.2 occurs independently of SpriteAssist. It may be best to use "Sprite Atlas V2 - Enabled For Builds" instead of using SpriteAtlasV1 for the time being.

sr4dev commented 1 year ago

@Gasparfx Modified it. Released a new version. https://github.com/sr4dev/Unity-SpriteAssist/releases/tag/v1.0.6

Gasparfx commented 1 year ago

@sr4dev Thanks a lot! Its much better now. I still have a problem with preview window sometimes, but it looks like a different bug and not related to Sprite Atlases. So i will make another thread.