cocos-engine icon indicating copy to clipboard operation
cocos-engine copied to clipboard

[3.4.2] Importing 2.x to 3.4.2 version using importer, editor crashes

Open zhefengzhang opened this issue 3 years ago • 3 comments

Cocos Creator version

2.4.6、3.4.2

System information

windows

Issue description

The user has a large amount of project resources, about 60,000 resources. Every time we use the importer to import the project from version 2.x to version 3.4.2, it crashes. After talking with our editor colleague @arsen2010, we confirmed that the editor crashes after taking up too much memory.

Relevant error log output

No response

Steps to reproduce

Use the 2.x import tool in CocosCreator version 3.4.2 to import 2.x projects into new projects in CocosCreator version 3.4.2.

Minimal reproduction project

You can find @arsen2010

zhefengzhang avatar Apr 25 '22 06:04 zhefengzhang

It feels like when importing, we can't import too many at once, we have to make it in batches

jareguo avatar Apr 27 '22 10:04 jareguo

The problem has been solved

VisualSJ avatar Jul 29 '22 01:07 VisualSJ

crash.zip

zhefengzhang avatar Aug 11 '22 06:08 zhefengzhang

I tried several machines and found one machine that crashed when 5W resources were imported at a time, and the impact area was small. Therefore, lower the priority

VisualSJ avatar Aug 16 '22 02:08 VisualSJ

The problem has been dealt with

VisualSJ avatar Dec 09 '22 02:12 VisualSJ