- This topic has 12 replies, 4 voices, and was last updated 1 month, 2 weeks ago by
Alexander Kovelenov.
-
AuthorPosts
-
2025-07-11 at 9:44 am #82918
avi3
ParticipantHi! I’ve made a puzzle that works great in the editor.
But when i open the html file or publish it. The puzzle stops working. No puzzle i add works?
Is there something i need to so except save the puzzle?2025-07-11 at 11:38 am #82920Alexander Kovelenov
StaffHi,
Please check the browser console for possible issue printed here.Also, it maybe a browser cache, or offline mode activated for your app.
2025-07-11 at 1:17 pm #82924avi3
ParticipantHmm i seem to get a “WebSocket connection to ‘ws://localhost:5500/ws’ failed”
2025-07-11 at 3:19 pm #82926Alexander Kovelenov
Staff2025-07-11 at 6:53 pm #82934bigmike814
Customerif you’re publishing it and its trying to find something at a localhost its not going work. You have to set the URL of the site you’re publishing to as your directory location.
2025-07-13 at 10:52 am #82946avi3
ParticipantHi!
So the error was cause by my live server plugin. I removed that and get no errors in the console.
But still, the logic from puzzles does not work.
If i open the .html file after a saved puzzle no logic works. I cant change color of my object as i can in the puzzle editor.2025-07-13 at 1:38 pm #82947Alexander Kovelenov
StaffThat’s a very unusual situation! Please follow these steps to debug:
- Open visual_logic.js in your favorite text editor and check that it actually contains the logic you implemented with Puzzles.
- Check that this file is actually loaded in the Network tab of the browser console.
- If it does, open it in the browser and compare its content with the content retrieved at step 1.
2025-07-13 at 7:54 pm #82954avi3
ParticipantYeah i cant find the file in the network tab of the browser console. How do i fix this?
2025-07-16 at 9:19 am #83143jelteh
ParticipantDid you export with compression? I did that yesterday, and every change I made in Puzzles after that did not apply to my project.
2025-07-16 at 12:34 pm #83145Alexander Kovelenov
StaffYeah i cant find the file in the network tab of the browser console. How do i fix this?
You might check the main HTML/JS files of your application. Perhaps you accidentally edited them or replaced by something else. It appears that the only thing that can really help in your case is recreating the app from scratch.
-
This reply was modified 1 month, 2 weeks ago by
Alexander Kovelenov.
2025-07-16 at 12:36 pm #83147Alexander Kovelenov
StaffDid you export with compression? I did that yesterday, and every change I made in Puzzles after that did not apply to my project.
Appears to be the infamous compression gotcha.
2025-07-18 at 5:10 pm #83244avi3
ParticipantThe only thing i changed was the html file and added
<!–- __V3D_PUZZLES__ – enable Puzzles button in the App Manager -–>
otherwise the puzzle was greyed out… Tried creating a new project with same result. Tried reinstalling verge3d :/ No luck sadly2025-07-18 at 5:41 pm #83245Alexander Kovelenov
StaffThe only thing i changed was the html file and added
<!–- __V3D_PUZZLES__ – enable Puzzles button in the App Manager -–>
otherwise the puzzle was greyed out… Tried creating a new project with same result. Tried reinstalling verge3d :/ No luck sadlyThis comment should be present in the app initially. If you’re just adding support for puzzles to some custom HTML/JS app, this won’t work. Please check out how the puzzles are prepared by looking to a basic Cube app (e.g. my_awesome_app).
-
AuthorPosts
- You must be logged in to reply to this topic.