Skip to content

Auto atlas can cause app launch crashes #18698

Open
@Changdw

Description

@Changdw

Cocos Creator version

v3.8.6

System information

Android App

Issue description

AutoAtlas can cause app launch crashes. I saw that the code related to this was removed in version 386, but the app crashes caused by this issue still exist.

https://forum.cocos.org/t/topic/167558/189

Relevant error log output

Uncaught Exception: - location : src/cocos-js/cc.js:1:453108:

Steps to reproduce

  1. Place an image in the scene without attaching the automatic atlas.

assets.zip

  1. Put a prefab in the resources with the automatic atlas attached.
  2. This will definitely cause the app to crash on launch.

Minimal reproduction project

No response

Metadata

Metadata

Assignees

Labels

BugNeeds TriageNeeds to be assigned by the team

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions