Unknown 0xC0000005 Error Code crashes Roblox Studio during playtest

Recently I added a UI masking feature utilizing CanvasGroups for a certian UI animation for my game. However, when the animation is played, the game would crash unexpectedly with Access violation - code c0000005 in the dmp file at the time of the crash.

I tried to replicate the issue in a separate place but couldn’t reproduce the bug, which meant it was tailored to the place I made
But when I removed the UI masking feature I mentioned at the beginning the game stopped crashing.

A private message is associated with this bug report

I have every beta feature active except the “New UI Capabilities” feature