Home › Forums › Bug Reports and Feature Requests › Possible Error in removeEventListener (Verge3D 4.10)
- This topic has 5 replies, 2 voices, and was last updated 1 day, 19 hours ago by
Alexander Kovelenov.
-
AuthorPosts
-
2025-12-17 at 12:25 pm #85734
Thomas Fabini
CustomerHi guys,
since I upgraded to 4.10 (which I need for compatibility with Blender 3.6 and older Projects)
it seems that i can’t remove event listeners which were added with the ‘add event listener with callback’ puzzle.‘remove event listener with callback’ puzzle seems broken.
In function ‘removeEventListener’ ‘_pGlob.customEvents._listeners’ seems to return always undefined.const customEL = _pGlob.customEvents._listeners; if (customEL && customEL[type]) { ...I’ve came to check this because after updating a project, event listeners kept firing multiple times which they hadn’t in 4.9.0 (as far as I recall).
Thanks,
Thomas2025-12-18 at 7:43 am #85742
Alexander KovelenovStaffHi Thomas,
Indeed this is a bug due to internal “_listeners” array being wrongfully exposed to Puzzles. We’re going to fix this in the upcoming Verge3D update. Thanks for the report!-
This reply was modified 1 month, 2 weeks ago by
Alexander Kovelenov.
2025-12-18 at 8:38 am #85745Thomas Fabini
CustomerHi Alexander,
Thank you for confirming this.Since 4.10 is the last version of Verge3D which is compatible with Blender 3.x could you update this version, too, keeping compatibility with older projects as the last up-to-date version for 3.x projects?
In 4.10 you added support for unique id’s, objects and animations both, which I’m missing in 4.9.2. (there are workarounds, but having the puzzles is certainly more elegant).
Ah – and merry Christmas and happy holidays to you and the team!
Thomas2025-12-19 at 4:03 pm #85768
Alexander KovelenovStaffHi and Merry Christmas,
Unfortunately, it’s against our company policy to issue fixes for outdated releases. The only workaround I can suggest (works for both 4.10 and 4.11) is to open visual_logic.js after saving it in the Puzzles editor and replace _pGlob.customEvents._listeners by _pGlob.customEvents.t just in one place.2026-01-02 at 1:41 pm #85911Thomas Fabini
CustomerHi Alexander, a happy and successful New Year 2026 to you and the Verge3D Team!
Thank you for you reply and the workaround you are proposing.
The company policy and the reasons for not updating an outdated version, I understand. In this particular case I’m not really happy about the repercussions, but I respect it since it’s necessary from a developers point of view.Regarding the workaround you are proposing – that is too risky for production and working in a team. Each single export needs to be checked, each time when saving the error creeps back in.
I’m considering working with a modified puzzles script (which at least is a one-time change per installation) until older projects are finished and we are able to move to a current version of Verge3D.Thank you,
Thomas2026-01-30 at 12:14 pm #86131
Alexander KovelenovStaffThis bug has been fixed in Verge3D 4.12 pre1. Feel free to check!
-
This reply was modified 1 month, 2 weeks ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
