The camera is not normal, almost in every place I edit, the camera changes to Fixed after I press play, or Start a local server.
The camera type should be custom, so it will follow the player, but instead, I just see the player in front of the camera, and I can move, but the camera won’t follow the player.
I tried looking for solutions in the dev forum, the only thing I found was to check if there aren’t any plugins in the plugins folder. And there are absolutely no plugins in there. I also tried to make a local script, that a second after the player joins, it will set the camera type to custom, which was working until now.
I did not install any new plugins, and it wasn’t like that before. What can I do to fix that?
Thanks for everyone who responds
Thanks for responding , I have a lot of scripts in my game. So I used the “find in all scripts” tool, and I found nothing related to the camera or the camera type. And are you sure about the plugins? Everything was working before, just a few days ago, it was working fine. And I did not install any new plugins.
Edit: I also made this local script which finally made it work normally:
But I don’t think I need a script for that. Shouldn’t the camera change by itself to custom on play?
I don’t think my script is a good solution, because something is changing the camera and I don’t know why or from where. But I was using it to test my game because it was annoying to change the camera from the workspace each time.
Well the easy way to check if it’s a specific game, a plugin or a bug is to create a completely new place as an empty baseplate and press Play.
If it is correctly set to custom in that new empty place, then the problem is a script in your game.
Also if your script works, then it shows that something is setting the camera type to fixed, as the CameraType property changed signal would not fire otherwise. Your camera is being created as Custom, changed to Fixed by a script somewhere, and then back to Custom by your changed event.
Did you create all of the scripts and assets in your game?
Yes, I have created all of the scripts in my game, and there’s only one script that changes the camera, but not to fixed, it changes it to scriptable, and I found out something about it. I believe it is related to Team Create. Because:
I created a new place, everything was fine.
I published the place, everything was fine.
I enabled team create, the camera was set to fixed.
Is it a studio bug?
Edit: I pressed play a couple of times, sometimes it did happen, sometimes it didn’t.
Does it only happen in Studio or does it happen if you press Play on the website?
If only studio and only team create places then you may have found a studio bug. If so, post in #platform-feedback:studio-bugs with a summary of all the info and all the things that have led you to believe it’s a studio bug.
I have posted a bug report, I don’t want to change anything in the camera, it changes by itself to Fixed, and the camera does not follow the player at all. It happened only in team create places to me.
It’s the workspace current camera, which should be automaticly set to custom when the player joins, only in studio it should be fixed, but in the client(player) it should be custom.
I am not sure that you understand. I don’t want to change the camera at all. It should be working completely normal. But there’s a bug that changes the camera type, and none of my scritps or plugins do that. It should b set to custom on play and to fixed on edit. But it stays on Fixed even on play, it wasn’t like that before. That’s the bug, and I sent a bug report about it, because it happens only in team create places.
I added screenshots of the bug, they are all in client mode. The camera simply does not follow the player, something changes it. And it happened to me only in team create places.