C2 Black screen

Hey @eddie

I’m trying to use this plugin, and am able to initialize and login, however after logging in or exiting out of login, I am left with a black screen overlay. Is this a known bug?

Thanks!

Hi there,

I didn’t notice any black screen overlay problems. What does the developer console show in your browser? Let me know how to recreate it, I could check it out.

1 Like

Thanks for the quick response! I didn’t realize I needed to use HTTPS, so I am getting the FTP setup to try that. However, the plugin is constantly generating this error on login:

Uncaught DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
    at u.destroy (http://cdn.id.net/api/sdk.js:2:15497)
    at Object.createDialog (http://cdn.id.net/api/sdk.js:2:21151)
    at Object.createIframeDialog (http://cdn.id.net/api/sdk.js:2:21438)
    at Object.login_or_register (http://cdn.id.net/api/sdk.js:2:30022)
    at Object.login (http://cdn.id.net/api/sdk.js:2:30123)
    at Object.login (http://cdn.id.net/api/sdk.js:3:29034)
    at pluginProto.Instance.Acts.LoginPopup (http://localhost:50000/IDNet_plugin.js:194:7)
    at Action.run_object (http://localhost:50000/eveng.js:1852:10)
    at EventBlock.run_actions_and_subevents (http://localhost:50000/eveng.js:931:38)
    at EventBlock.run (http://localhost:50000/eveng.js:888:9)
u.destroy @ dialog.js:76
createDialog @ ui.js:31
createIframeDialog @ ui.js:54
login_or_register @ auth.js:102
login @ auth.js:109
login @ id.js:70
Acts.LoginPopup @ IDNet_plugin.js:194
Action.run_object @ eveng.js:1852
EventBlock.run_actions_and_subevents @ eveng.js:931
EventBlock.run @ eveng.js:888
EventSheet.run @ eveng.js:224
Runtime.logic @ preview.js:2692
Runtime.tick @ preview.js:2380
tickFunc @ preview.js:700
IDNet_plugin.js:192

I reinstalled the plugin to make sure it was up to date, and tried this in a new project.

what does the event sheet look like though? Also, the plugin is loaded normally?

I ask because when I test I don’t get the same error. So I don’t have enough info to be able to reproduce this. You could send me a capx file showing how.

I uploaded the C2 example to storage and it works on Firefox and Chrome browsers.

1 Like

Thanks, look like I was calling the event more than once and that was preventing it from being closed properly.

1 Like

Ah yes, it’s easy to do with C2 as code tends to loop unless created with an extra variable. I will try to fix this on our side too, seems like a bug.

Y8 Games