White Screen with SharedVariable is not defined error
See original GitHub issueAfter 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
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.
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:
- Created 3 years ago
- Reactions:1
- Comments:7
Top GitHub Comments
For now I guess I can spend some time translating all of
VRCXStorage
andSharedVariable
calls toasync
, there is quite a bit of stuff, but I think its doableSame 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
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.