5.0.2 ,Bug on startup C++ project

The project doesn’t start until 7 minutes later, and there’s a message in the log: [2022.06.02-13.41.46:763][ 0]LogAssetRegistry: Asset discovery search completed in 435.3391 seconds. This is a blank project with no assets at all. How do I fix this? There are no such errors with Blueprint projects. It is interesting that if you run the same project in the background in the debug, it will start immediately.