I’m trying to make WebGL work for our cross platform application.
We use reflection to get information but in WebGL this returns null (but works on Android/iOS/Stand alone and web):
ourObject.GetType().GetProperty(“propertyname”);
Is there a way to fix this or is this not supported?
By the way in publish settings I’ve set “Enable Exceptions” to “Explicitly Thrown Exceptions Only”
UnloadTime: 3.715000 ms UnityLoader.js:1:31246
Unloading 6 Unused Serialized files (Serialized files now loaded: 0) UnityLoader.js:1:31246
UnityLoader.js:1:31246
Unloading 221 unused Assets to reduce memory usage. Loaded Objects now: 3761. UnityLoader.js:1:31246
Total: 4.535000 ms (FindLiveObjects: 0.195000 ms CreateObjectMapping: 0.055000 ms MarkObjects: 3.880000 ms DeleteObjects: 0.405000 ms) UnityLoader.js:1:31246
UnityLoader.js:1:31246
Not implemented: Class::FromIl2CppType UnityLoader.js:1:31246
Invoking error handler due to
uncaught exception: abort() at jsStackTrace@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:1:22814
stackTrace@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:1:22997
abort@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:42:56349
_abort@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:1:191846
Rkw@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:35:18085
Niw@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:6:1252402
tI@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:29:310608
EL@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:29:372939
Owd@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:31:72874
Lwd@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:31:69095
Lwd@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:31:69078
gxw@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:35:327169
invoke_vii@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:1:358464
FJ@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:29:337786
Lwd@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:31:70585
gxw@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:35:327169
invoke_vii@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:1:358464
hJ@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:29:327660
rOr@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:16:35034
ZJv@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:6:914200
L_f@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:15:451855
DDk@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:11:1118689
RXf@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:15:389249
KYf@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:15:410874
sJv@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:6:909700
g$f@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:15:454591
l$f@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:15:457919
k$f@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:15:457680
f1f@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:15:512052
a1f@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:15:510134
sJv@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:6:909700
j1f@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:15:513629
EKu@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:6:179264
Oyw@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:35:338426
invoke_iiii@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:1:375596
KN@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:29:420663
Lx@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:29:86897
xpb@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:23:159043
aNb@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:23:902478
zKb@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:23:833215
BKb@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:23:836954
gKb@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:23:825856
P7a@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:24:625968
MHb@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:23:736386
Ele@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:19:164028
fyw@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:35:333928
Runtime.dynCall@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:1:6885
Browser_mainLoop_runner/<@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:1:208443
Browser.mainLoop.runIter@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:1:238804
Browser_mainLoop_runner@blob:null/43232c2c-93e6-4a9c-b5e1-ee7038afc62f:1:208339
If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information. UnityLoader.js:1:29721
115 UnityLoader.js:1:31246
115 UnityLoader.js:1:31293
Is this with Full Exceptions ? (Sorry, that was not very clear from my previous reply)
Anyway, this might be a bug we already fixed but it would be good if you could submit a bug report with a repro project so we can confirm it’s the same issue.
This isn’t the Full Exceptions. I’ve tried to do this but if I turn it on my appliction will not run anymore (in Firefox). It tries to load it but the screen stays gray. (waited of 15 minutes without any result).