- Home /
Can SpriteAtlas be disabled under the editor
I want to disable SpriteAtlas in the editor playback mode, without affecting the loading and use of SpriteAtlas from AssetBund
I tried to set Sprite Packer to "Always Enabled", the picture can be displayed normally, but from the Profiler, there are two SpriteAtlas, one is generated by the editor, the other is loaded from the AssetBund, and the picture refers to the editor Generated Try to set Sprite Packer to "Enabled For Builds", the picture shows white blocks, and two atlases are also shown in the Profiler
SpriteAtlas "Include in Build" is set to On, and the "SpriteAtlasManager.atlasRequested" post-processing is not used. The SpriteAtlas on the UI is assigned to the UI through script collection Everything is normal on the phone, and there is only one SpriteAtlas when viewed from the Profiler When "Enabled For Builds" is turned on, the missing references in the editor are also displayed normally, and the missing references on the mobile phone will display white blocks.
I want to troubleshoot errors more easily in the editor
Hope to get your help
Your answer

Follow this Question
Related Questions
How can I create a spriteAtlas with unity2020.3.25 1 Answer
Access Monobehavior Instance from Static Function of Editor Script 1 Answer
How do you find the true center of a game-object? 1 Answer
Where can I find the Uniscite editor? 1 Answer
Creating Scenes Programmatically From A Deployed Build in Unity 1 Answer