This might be a bug but printing instances from RPS to local scripts causes studio to crash

What happened: I have an instance in Replicated storage that im trying to print however when I attempt to do this via local script, it causes studio to crash.

Code:

local Section_Data = game:GetService("ReplicatedStorage"):WaitForChild("ReplicatedGameData"):WaitForChild("Section")

print("Lag Starting")

wait(1)

print(Section_Data)

print("Here") --Never prints because studio literally crashes when Section_Data is printed.

Screen Shot 2022-07-30 at 1.29.38 PM
Instance being printed ^

1 Like

I tried this and my studio was just fine, so I don’t really know what is happening to you.
Perhaps there’s a different script that’s causing the crash?

1 Like

I disabled the script and it worked perfectly fine, ill try the bug in another roblox game and see if it may just be a problem with the game or something

1 Like

Did you test this script in an empty environment?

1 Like

I did and it worked. The script does not work in the game that im working on however. I avoided this by not using replicated instances (i can still access their properties) entirely.

1 Like

What is NewCharUIProtector, and why does your script say “Lag Starting” ? Is it crashing due to lag?

1 Like

newcharuiprotector is a folder, Lag Starting so i know when the lag will start (when print(Section_Data) is ran)

1 Like

When does Section get parented to ReplicatedGameData, and by what?

1 Like

It’s always there, I manually add it

Is the Value set to anything before printing?

This is genuinely just confusing.

1 Like

If you are trying to print a Value, please call it as
Section_Data.Value, honestly might think it’s got to be doing with the attempt of printing something nil that is replicated, which will then cause overload. I would most likely consider it as a bug.

1 Like