likely the level loads before the player controller exists and so the Ref is Null.
better to do this logic in your player controller itself. you can set a variable in the GameMode or something to identify if the level requires a cursor or not
likely the level loads before the player controller exists and so the Ref is Null.
better to do this logic in your player controller itself. you can set a variable in the GameMode or something to identify if the level requires a cursor or not