It happens when the main collection of the game is loaded via a collectionproxy. The game runs fine in the title section and in the level selection section (both are loaded and unloaded via collectionproxy’s). So it seems hard to get a sample via webprofiler exactly when the play collection is loaded.
Here is a more complete log of the issue:
07-20 16:09:33.393 15425 15448 E defold : ERROR:RESOURCE: The max number of resources (1024) has been passed, tweak “resource.max_resources” in the config file.
07-20 16:09:33.493 15425 15448 E defold : ERROR:RESOURCE: The max number of resources (1024) has been passed, tweak “resource.max_resources” in the config file.
07-20 16:09:33.493 15425 15448 W defold : WARNING:RESOURCE: Unable to create resource: /game/main/collections/world_name_it_generated_0.goc
07-20 16:09:33.510 15425 15448 E defold : ERROR:RESOURCE: The max number of resources (1024) has been passed, tweak “resource.max_resources” in the config file.
07-20 16:09:33.510 15425 15448 W defold : WARNING:RESOURCE: Unable to create resource: /game/main/collections/world_name_it_generated_2_generated_0.spritec
07-20 16:09:33.510 15425 15448 W defold : WARNING:RESOURCE: Unable to create resource: /game/main/collections/world_name_it_generated_2.goc
07-20 16:09:33.527 15425 15448 E defold : ERROR:RESOURCE: The max number of resources (1024) has been passed, tweak “resource.max_resources” in the config file.
07-20 16:09:33.527 15425 15448 W defold : WARNING:RESOURCE: Unable to create resource: /game/main/collections/world_name_it_generated_3_generated_0.spritec
07-20 16:09:33.527 15425 15448 W defold : WARNING:RESOURCE: Unable to create resource: /game/main/collections/world_name_it_generated_3.goc
07-20 16:09:33.544 15425 15448 E defold : ERROR:RESOURCE: The max number of resources (1024) has been passed, tweak “resource.max_resources” in the config file.
07-20 16:09:33.544 15425 15448 W defold : WARNING:RESOURCE: Unable to create resource: /game/main/collections/world_name_it_generated_4_generated_0.spritec
07-20 16:09:33.544 15425 15448 W defold : WARNING:RESOURCE: Unable to create resource: /game/main/collections/world_name_it_generated_4.goc
07-20 16:09:33.564 15425 15448 I defold : INFO:CRASH: Successfully wrote Crashdump to file: /data/user/0/com.example.todo/files/_crash
My guess is that the engine is loading something in a wrong way, for example looping the load of some resource.
Also, how can I retrive the crashdump from the device?
Thanks!