Skip to main content
fakemovementmeta
Participant
March 10, 2025
Solved

Codeblocks Script Disappearing – Bug or Issue?

Lately, I’ve been experiencing a frustrating issue in Horizon Worlds when scripting with codeblocks. Very often, my entire script suddenly disappears, and even when I try to undo, it doesn’t come back. This forces me to redo everything from scratch.

Has anyone else encountered this problem? Is this a known bug, or is there a way to prevent it from happening?

Thanks in advance for any insights!

protoxr1487653
Honored Contributor
March 11, 2025

The script is not gone when this happens, just that gizmo to view it. Open you build menu and go to the console page. On the left you will see the library for every script in the world even if there's no gizmo. You can hit the edit button right from there or even have it spawn a new gizmo, but those boxes are just messy anyway and I just use the library these days. It has just become more important to name the script immediately when you do pull out a new script gizmo while building.

Proto_XR

10 replies

Participant
March 11, 2025

I've had the exact same thing happen to me. 

protoxr1487653
Honored Contributor
March 11, 2025

The script is not gone when this happens, just that gizmo to view it. Open you build menu and go to the console page. On the left you will see the library for every script in the world even if there's no gizmo. You can hit the edit button right from there or even have it spawn a new gizmo, but those boxes are just messy anyway and I just use the library these days. It has just become more important to name the script immediately when you do pull out a new script gizmo while building.

Proto_XR
fakemovementmeta
Participant
March 11, 2025

OMG! Thank you so much!! 

fakemovement.meta
SeeingBlue
Honored Contributor
March 11, 2025

If you look in your build menu under Scripts, do you see the Library, and are any of your missing scripts in there?

 

Upcoming Events : Performance Pro - UI Unleashed - Building Responsive & Performant Interfaces Thursday June 19th 5:00 PM PT - Register June Programming Calendar
fakemovementmeta
Participant
March 11, 2025

Thank you so much!! 

fakemovement.meta
Inspiring
March 11, 2025

I would say this is still a bug...it's very annoying when this happens. 

TeacherDanny
Up and Coming
March 20, 2025

When that happened to me I noticed that the script gizmos move to the center of the world.

New Participant
March 22, 2025

This keeps happening to me as well and even worse I have to re-add the script to each obj that the script was running in which could be almost impossible sometimes and crazy annoying . I heard it has to do with fbs but not really sure 

Participant
April 8, 2025

I have experienced this as well . However if you use desktop mode in vr mode I have been able to edit my scripts with no issues.