Question about the content provider

Hello, I found out not long ago about content
provider and I wondered Can you use the content provider on a clone to wait for the map to load at the clients like flood escape 2 which waits for the client to load the cloned map before finishing the loading screen.

Sorry for my bad english , i used google translate

ContentProvider is for assets that need to be loaded via a request, such as textures, meshes, unions, sounds, and animations.

You could use it to wait for the player to load all of those asset types for the map, but what it won’t do is wait for all of the map to be replicated to the client and actually appear.

For that, you’ll need to know what you’re waiting for (for example a number of instances, or maybe just critical parts like the floor and walls) and wait on the client until those pieces are found. You could do that via a loop or via events with DescendantAdded.

2 Likes