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!Solved1.7KViews4likes10CommentsHeadset editor done for?
After the update today I can't even edit a script on the head set editor. I know they stopped updating and maintaining it but didn't expect it to just fall apart. I literally cant even drag and drop code blocks or type on the keyboard now. I like using the desktop editor for some stuff but mostly prefer the headset if anyone knows anyway to get it working again? If not how can I get the code block scripting on the desktop editor? I downloaded vs code and I'm still not able to open my existing scripts. I'm able to start a new one but it's type script not code blocksSolved1KViews0likes13CommentsAn Open Letter to Meta: Keep Horizon Worlds Accessible
Horizon Worlds has always been special because anyone could put on a headset and start creating—no coding degree required. Codeblocks made that possible, giving creators of all skill levels the power to build without overwhelming barriers. Now, with the shift to an industry-standard desktop editor and a programming language that takes months or years to learn, Meta is moving away from what made Horizon truly unique. Advanced tools are great, but not if they push out the very people who made this platform thrive. Please don’t turn Horizon Worlds into just another complex game engine and if you do please remember the little guys.—keep it accessible, intuitive, and open to all.960Views41likes1CommentProjectile Launcher not keeping up with movement..
If a player is moving too fast the bullet comes out from the side of the gun but comes out in the right spot when the player is standing still. The faster a player is moving the farther away the bullet launches from. -launching projectile from projectile launcher which is grouped to the gun. Side question.. I noticed looking through some old gun scripts it says launch (object variable) from (object variable). Allowing you to better customize your bullets. When I tried to script this way myself I didn't see an option for choosing your own object as the projectile. Is this out dated?Solved839Views0likes13CommentsScript Syncing Issue Message
Has anyone received a pop up with an error about script syncing on the desktop editor when editing their world? See image - I am not using typescript. Just codeblocks. I always hit cancel but its annoying popping up everytime. Happened after today's update.Solved575Views1like5CommentsUI Button with sendCodeblockEvent
Hello! I'm editing a script in which my UI buttons should send an event with parameter to a target object containing a codeblock script. Everything is setup and will print to the debug log but I'm having an issue constructing the send event code: type GenericDialogProps = {} function pickoption0(this: any): void { console.log("option1"); this.sendCodeBlockEvent(this.props.target, new CodeBlockEvent<[index: number]>('GetOption',[PropTypes.Number]), "0") } function pickoption1(): void { console.log("option1"); } function pickoption2(): void { console.log("option2"); } function pickoption3(): void { console.log("option3"); } function pickoption4(): void { console.log("option4"); } class UItemplate extends UIComponent<GenericDialogProps> { static propsDefinition = { target: {type: PropTypes.Entity}, index: {type: PropTypes.Number}, I receive the error: Error Handling Event: TypeError: Cannot read properties of undefined (reading 'sendCodeBlockEvent') at pickoption0 (UItemplate.ts:152:7) at option0 (UItemplate.ts:183:12) at horizon/ui/HorizonUI.ts:1875:12522Views0likes7CommentsAvatar Pose Gizmo enable disable
Working with this great gizmo. Codeblocks still but my question is how can you ENABLE or DISABLE the gizmo? I've place it in a group and its showing RED. There is nothing around it CLOSE WISE to make it red. Any help moving it up and down instead of ENABLE DISABLE seems smart but not working in a group especially when asset spawned?Solved513Views0likes4CommentsOpen Custom UI Panel Via Button Press
Im not sure if this was asked already but how would one go about using the quest controller specific buttons (A,B,X,Y) to open up a ui panel in a horizon world ? Example: When Y is pressed then menu interface shows up, when Y is pressed again the interface closesSolved509Views1like3CommentsAttachable Interactive Assets
Any hints on how to attach an interactive asset to the Player OnEnterWorld? My problem is that I know how to attach objects with Code Blocks, but interactive objects already have script connected to them. Is there a trick to do it? Thank you for your help!506Views1like5Comments