How can I change mouse cursor texture?

If I changed the cursor in project settings, my build would crash on start up. If I use this method instead, no crash. Works great.