mjholtzem / Unity-2D-Destruction

MIT License
622 stars 98 forks source link

Fragments are turning invisible #13

Open ghost opened 5 years ago

ghost commented 5 years ago

Hello, I'm having a problem with the asset, all fragments are turning transparent after a short period of time. I don't know what could be possibly wrong, any help would be appreciated. Thanks.

ghost commented 5 years ago

Nvm, I found what the issue was. Going to Project settings -> Editor -> Sprite Packer mode -> Enable for Builds, fixed the problem. Apparently having it set to Always Enabled was causing the issue. The reason? I have no idea why... If anyone has idea please let me know. Thanks.

PeteBorks commented 5 years ago

Any updates on this? I'm on Unity 2019.2.8f1 and this issue is still happening. Doing what @Mono260892 suggested didn't solve my problem

clonzeh commented 4 years ago

I think this invisible problem is solved by clearing meshes before using, I can't remember exactly, sorry.

Maybe this will help? uMesh.RecalculateBounds();

pavlo-kravchenko commented 1 month ago

Any news about fix it problem?