Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why does my game's camera crash every time I launch my game?

Asked by 2 years ago
Edited 2 years ago

I was trying to show a friend how my game was going when my camera just randomly decided to break. It crashed and kept giving me errors, and was fixated in one position. I tried absolutely everything I possibly could to fix it but nothing worked. I turned off my plugins, I modified the StarterPlayerScripts, I reverted the game back to old versions, but even they had the issue. I reuploaded my game several times, I rebuilt the game by copying over old assets, but absolutely nothing fixed it. Anyway, here's the error message: RunService:fireRenderStepEarlyFunctions unexpected error while invoking callback: Players.cavrokk.PlayerScripts.PlayerScriptsLoader:193: attempt to call a nil value - Studio 14:24:14.533 Players.cavrokk.PlayerScripts.PlayerScriptsLoader:193: attempt to call a nil value - Client - PlayerScriptsLoader:193 14:24:14.533 Stack Begin - Studio 14:24:14.534 Script 'Players.cavrokk.PlayerScripts.PlayerScriptsLoader', Line 193 - function Update - Studio - PlayerScriptsLoader:193 14:24:14.534 Script 'Players.cavrokk.PlayerScripts.PlayerModule.CameraModule', Line 156 - Studio - _CameraModule:156 14:24:14.534 Stack End - Studio

Any help would be appreciated, as this is by far the furthest I've ever gotten with making a game, and it's currently unplayable. Also, this is the only game I've ever had that's had the issue. None of my old ones have it, and none of my new ones have it. It's just this one.

0
Do you have any scripts that interact with the camera or the player scripts? AronYstad 101 — 2y

2 answers

Log in to vote
0
Answered by 2 years ago
Edited 2 years ago

You should probably contact Roblox Support for this issue since the source of the script is Roblox's built-in script for the game. Here is the Support Page

Ad
Log in to vote
0
Answered by 2 years ago

Never mind, I found it. Turns out it was typically the ONLY script in my ENTIRE GAME that I didn't write. Anyway, for future reference, it was EgoMoose's gravity controller that broke my game. I'm guessing one of the requires got updated and broke the script. Anyway, it's all sorted now.

Answer this question