So as the title says, when I press F5 or when I go on roblox website and I click the play button, I have a map and like for some reason the children of all the models except one or two gets removed, and it only happens on the client. I absolutely have no idea about what’s going on and it’s still occuring when I remove all the scripts.
Here is the place. It’s been driving me nuts because I’m actually in a hurry and I have to finish this soon. You’ll see that without any scripts it still happens.testing place.rbxl (212,7 Ko)
It appears to me that the character isn’t even being added into the game whenever I test it and I don’t see a single reason as to why that should be happening. Have you tried maybe just copy and pasting the build to another game and ensuring that the game still operates on the other game? My best guess right now is a corrupt script somewhere in the game that maybe I’m failing to see.
It appears to me that the character isn’t even being added into the game whenever I test it and I don’t see a single reason as to why that should be happening.
Go to players, then enable ‘character auto loads’.
Eh, really?.. I know what I’m doing. If I disabled the character, it’s because there is no point in having a character in my game. The only thing that matters is the camera.
My best guess right now is a corrupt script somewhere in the game that maybe I’m failing to see.
There were only two scripts in the game and I succesfully removed them before posting the place.
I know this is an abstract problem but guys, I mean, don’t search the problem where there aren’t any problems. The problem is the map, not the character, the problem is the fact that on the client, I can’t see the parts making up the map, whether it is on the game window or the explorer. If you may want to answer if you could think about what you’re saying twice.
As you can see, the models are all empty on the client. On the server, it works.
May this be the last time that I ever see someone suggesting me to turn CharacterAutoLoad in this thread.
Do you actually understand the problem. @DragRacer31. The problem is that I can’t see the components of the model for some reason (in the explorer on the client). But thanks to @Luke_ee for showing your version. It seems like studio is going crazy on my device for some unknown reason as always. This may be posted in bug reports therefore.
I replicated your issue, when you have AutoLoadCharacters disabled you must load your characters via a script.
Here is a script that loads in the characters via script i found on the wiki, without this your parts will not show on the client. You cannot load your client via a localscript aswell
-- Set CharacterAutoLoads to false
game.Players.CharacterAutoLoads = false
-- Remove player's character from workspace on death
game.Players.PlayerAdded:Connect(function(player)
while true do
local char = player.CharacterAdded:wait()
char.Humanoid.Died:Connect(function()
char:Remove()
end)
end
end)
-- Respawn all dead players once every 10 seconds
while true do
local players = game.Players:GetChildren()
-- Check if each player is dead by checking if they have no character, if dead load that player's character
for i, player in pairs (players) do
if (not game.Workspace:FindFirstChild(player.Name)) then
player:LoadCharacter()
end
end
-- Wait 10 seconds until next respawn check
wait(2)
end
I believe that it is expected behavior for you to not see anything under explorer. If there was stuff under the models under on the client, then it would appear on screen. However, this doesn’t seem to be the case as the character isn’t loaded in and there is more or less nothing to see on the screen
Wow, I don’t understand this is absolutely ridiculous. How come the models don’t load when CharacterAutoLoad is set to false when it was working well, like seriously.
@zeuxcg Is this a bug or it’s intended, because CharacterAutoLoad used to be false before and I don’t know why it wouldn’t work now if it succesfully did before?? Making a game or attempting to make something can be frustrating with all these little details. Having a character is not required in my game. The only thing that I need is a camera. So why if I would set CharacterAutoLoad to false I wouldn’t be able to see the children (parts) of a model in the workspace??