So I’m facing a small yet super annoying issue after enabling Streaming Enabled in my game, for some reason, the player’s camera freezes in place after you equip a tool, but this never happened when Streaming Enabled was off.
Clip:
I’m not sure why it’s doing this, here’s the setup though of my little tool giving system:
It is likely whenever you equip the item, the item was originally placed outside of streaming or rendering distances. When the item is attached to the character model, the character model briefly loses references before being streamed back in.
Strange, I checked the tool in ServerStorage and the handle was far away from the streaming area where you pick said tool after clicking the prop, and so I moved it within the streaming area hoping it would fix it now but the camera bug persists for some reason.
Hmm, I have no idea either really. StreamingEnabled makes it slightly funnier by making the things arrive slightly later than usual. Therefore not in within the timing you expect and usually can result in code breaking.
Maybe there’s more to this, specifically about the camera?
Well, the script that handles putting the tool in your inventory after clicking the prop doesn’t really have a line of code anywhere mentioning manipulating the camera:
At first I thought it might be related to my game being first person locked, and so I tried changing the camera to classical picking the tool up and the same thing happens. So strange working with Streaming Enabled, but I need it on for optimization purposes as my game is huge and detailed.