question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

White Screen with SharedVariable is not defined error

See original GitHub issue

After VRC servers had issues one day (and most apps losing auth) - my VRCX got in a very odd state I am so far unable to recover from.

I tried removing everything that seemed related from all the AppData folders and generally by searching the whole drive for VRCX and CEF, but so far - no luck.

I booted up a dev build with sourcemaps and it spewed this error when debugging the JS side of it image

I tried digging around a bit on the CEF docs, and seems like all of the BindObjectAync stuff should get bound into the window scope, but so far everything but these two is getting bound.

image

After I changed their binding call to isAsync = true in the Utils.cs - it made them bound. But because they’re async - the JSON.parse(configRepository.getString('savedCredentials')) is now throwing because it doesnt expect to get a promise. I didn’t try replacing all of the config repository calls with an await but I might just do that to see if it boots up

Hope that provides enough context to figure out what the actual issue is. I’ll keep digging on my own for now

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:1
  • Comments:7

github_iconTop GitHub Comments

1reaction
orels1commented, Feb 28, 2021

For now I guess I can spend some time translating all of VRCXStorage and SharedVariable calls to async, there is quite a bit of stuff, but I think its doable

0reactions
orels1commented, Feb 28, 2021

Interesting… can you give building my fork a try? https://github.com/Natsumi-sama/VRCX hmmm if it were .NET related I would assume it wouldn’t open but I could be wrong this is outside my expertise.

Same issue with yours, I’m afraid 😦

CEF itself supports new .NET, but based on the docs - the new .NET doesn’t have WCF. And it doesnt seem like I can downgrade my .NET anymore, installing a 4.6.2 runtime throws a “you have a newer version” error.

I tried listing my devtools and runtimes, and it seems like I do not have any 4.x runtimes

image

And based on the MS Docs, the .NET 4.x is not even in the supported list anymore?

This is a fresh Windows 20H2 install.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why am I getting the variable not defined error? - Stack Overflow
There is no variable 'tiles' in the scope of the method 'find_next_to_blank', does it need to be a parameter in the 'find_next_to_blank' method?...
Read more >
Solved: shared variables not working - NI Community
I am doing a project for college and am using the DSC module for its shared variable function. The problem im having is...
Read more >
Cordova app stuck on splash or blank screens, "Error: Can't ...
Of interest is the Error: Can't find variable: HTML and no domrange lines. Anyone else with similar issue with (sometimes) stuck Cordova apps...
Read more >
PHP Errors and Exceptions - Pantheon.io
Warning: errors will probably occur if not addressed. Error: fatal, execution terminated. Often known as the "white screen of death.".
Read more >
ReferenceError: "x" is not defined - JavaScript - MDN Web Docs
There is a non-existent variable referenced somewhere. This variable needs to be declared, or you need to make sure it is available in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found