Hello!
I recently encountered an issue while trying to teleport my character from the spawn point to a map that is located far away. The platform inexplicably disappears, causing my character to fall, and I’m not sure why this happens. I have tried disabling “StreamingEnabled” and have confirmed that the map is loaded when testing the game in server mode.
Any insights or suggestions would be greatly appreciated! Thank you so much in advance for your help!
I feel that this is a case where it takes time for the platform to actually load, unless this is way after the player loads itself. If you are doing the teleport immediately after the player loads (or I guess even during when the player has already been in the game for a while), then make sure to wait for the object to load.
The other thing is that you may not have the part anchored, which you should do. Otherwise, it would fall into the void.
You could be teleporting the player into a wrong position as well, which to fix, you should set the Y position of the spawn to be 2 studs higher than the surface. If you want it more precise, then you could experiment with values 0-2 studs higher than the surface.
Also, the video doesn’t seem to play, but it could be a personal issue.
If what I said solves the issue, great! Otherwise, do you have scripts in relation to what is going on right now?
thanks for your response! I was checking if the trouble was in the Y position or about the anchored floor but both are not the problem.
Here I set the HumanoidRootPart Anchored to avoid the problem, but it doesn’t convince me (By the way the map is loaded before when the countdown started checking the server view idk why in the local seems it doesnt exists at the moment) If you have another alternative I would appreciate it
Can you try to do a check to make sure everything has been loaded first, then send a call via RemoteEvent to the client to teleport? (which then the client itself could verify if the map is loaded for them)
You can also preload the map while the countdown is occurring, but if it takes longer than the countdown anticipated, you could put “waiting for map to load”. Many games do this.
in client side is not fully loaded while in server side it’s fully loaded (I noticed in client side the map loads when my character approaches to the map position)… I’m going to use your recommendations !