0
votes

There are actually two camera problems.

The first is that sometimes the RMB to control the camera angle in Studio doesn't work. Sometimes using the LMB or movement keys helps, other times (like right now) it doesn't do anything. The hand cursor appears to shake in the direction I want to pan the camera but nothing happens. I did have an Advanced Camera plugin.

When I'm testing my game in Studio, I have NO camera control via RMB and zooming is nonfunctional. This is to say that I can turn using my mouse, but RMB doesn't change how mouseview works. Probably unrelated, but I cannot get scripts from the toolbox for run, crouch, zoom, etc. to work, either, even when I place them where instructed.

I get these errors in my game:

 16:36:47.313   ▼ ActivateCameraController did not select a module. (x3)  -  Client - CameraModule:362
     16:36:47.314     ActivateCameraController did not select a module.
     16:36:47.314     ActivateCameraController did not select a module.

I've been having trouble with Studio eating up too much bandwidth when NOT in use during actual gameplay in Roblox (exe), so I removed all the Studio plugins, thinking one of them might be the culprit (deliberate or accidental), and also hoping it might fix the camera issues. No such luck.

Probably unrelated, but I found a couple of apparently simple viruses (Vaccine and Fire) using clone() and spread() to reproduce within the confines that their simple scripts dictated. I removed all instances, as well as a presumably fake Antivirus. The first two were very basic scripts designed to spread the script and didn't do any damage (although the latter would damage players).

1
Now that you've turned off all of your plugins, if you open a new Baseplate, are you still seeing these errors when you test the game?Kylaaa
Good question, @Kylaaa! No, I'm not.GAM II
When I copy-pasted the stuff we'd added in Workspace (but not terrain as I don't know how to copy terrain) into the new one, including the Baseplate, the problem reappeared.GAM II
I added an image of my file structure to the original post. If you'd like to see anything below that level, please let me know.GAM II
you have a malicious script somewhere in your Workspace. You can search/filter the workspace for Script and it will show all of the objects with scripts in them. I would recommend removing or Disabling the each of the scripts until you find which one is causing the errorsKylaaa

1 Answers

0
votes

@Kylaaa came up with the answers, but there's no way for me to mark them as answers.

The problems did not occur in a new game until I copied all the stuff I'd added into it (from the troubled game).

Regarding RMB not working in the Studio:

Sometimes, if the Workspace Camera gets set to Scriptable, all mouse inputs stop working. You could try checking if switching the CameraType to Fixed or anything else fixes your problem. It should be in the Properties window when you select the Camera in the Workspace.

What I did: I changed the mode and the problem stopped. I suspect that the Advanced Camera plug-in that I had removed had something to do with the problem.

Regarding the camera not zooming and RMB not working during testing:

you have a malicious script somewhere in your Workspace. You can search/filter the workspace for Script and it will show all of the objects with scripts in them. I would recommend removing or Disabling the each of the scripts until you find which one is causing the errors

When you click on a Script in the Explorer, look in the Properties widget. There should be a checkbox titled Disabled. When you select that, it will prevent the script from running when the game starts

What I did: I deleted a bunch of stuff my son had added, and then disabled ALL scripts, then started enabling them one unique instance at a time (i.e. duplicates were enabled simultaneously). The camera problem didn't come back except when I edited a script during testing. I never located the problem script, despite going through and triggering all scripts.