Multiple instances of symbol inside symbol makes the scene crash

(Alexandre Geissmann) #1

Hi Team Tumult,
My team and I, took the bet to launch a website where the front-end is entirely created with Hype 3.
All was going well until yesterday. Here’s whats the console logged ->

TypeError: null is not an object (evaluating 'element.setAttribute')

I spend some times to figure out what was creating the bug, but finally it seems that it happens when I added “loading” symbol and btn-ok inside the Module_PasswordRequestForm. Which is weird is that “loading” and “btn-ok” are just standard ui symbols (without running javascript calls on load) I used to share, and thought I could reuse again and again for building my interface.

I’ve uploaded the scene on dropbox, if you want to take a look.
(I’ve deleted all the others scene so this is why the ressource folder is looking like a mess)

Thanks and please get back to me if you have any idea for a workaround.

(stephen) #2

Thanks for reporting this! It turns out there is a bug in persistent symbols where embedding more than one regular symbol inside can cause problems.

As a workaround you can change your ‘modal’ symbol to be a standard symbol. I am looking into a fix for the next update.

(Alexandre Geissmann) #3

Thanks, I’ll wait until next updates.