Camera refuses to spectate a set humanoid (spectation)

So I’ve got this simple spectate script

The issue is that when you try to spectate anyone in game it just doesn’t allow you to do so. Camera will be stuck in place, not connecting to character. However it happens only when spectated character is modified and the person’s character who’s spectating is not modified. I found this out by trying to set SpectatedObject to Humanoid of a rig while being modified. It didn’t work. When I did the same while not being modified all worked just fine.

By reading few posts in dev forum still couldn’t find any issue. Tried renaming scripts, deleting some of them, disabling while modifying character and NOTHING helps. Just in case want to tell that camera mode is custom.

How did I test it? First by testing with testers team and now by myself, transforming myself into modified character and trying to set spectatable object of camera to Humanoid of a rit, which works while non modified and doesn’t while modified.

On the images you can see 1-2 not modified character and 3-4 modified character.
image
image
image
image

Camera got only color correction inside of it and no scripts (all the scripts are inside of character)

That is all information I can provide currently. Help appreciated.

1 Like

Noticed currenty:
When placed a part in workspace from server side while character is modified, and then enter back to local side, part doesn’t exist for player. Meanwhile for not modified character part does exist. Same applies for all body parts inside of all the rigs in game from local side.

Modified:

Not modified:

1 Like

Found out ACTUAL issue.

The thing is that map and testing area lies pretty far away from lobby and they are not loaded for client when being in any part.

When I tried to modify character, set camera object to rig in testing place and teleported my character there it loaded up area and I could spectate rig afterwards.