Can't export my Unity project as an html5 - html

I'm trying to export my game as an html5, but everytime I keep getting the same error message:
**UnityEditor.BuildPlayerWindow+BuildMethodException: 3 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002da] in <11d97693183d4a6bb35c29ae7882c66b>:0
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <11d97693183d4a6bb35c29ae7882c66b>:0
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
**
I have tried changing the settings, but the **build ** folder they created is empty.I just want it to give me an html file.

Related

Getting error for showing the charts under iframe from superset for public website, error says CSRF token doesn't match

I have a problem of showing the chart from superset on the public website or web space.
As per the given instructions on the superset documentation, I had updated few of the settings present on the config.py file but to my situation that didn't improve my situation and I got error like <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <title>400 Bad Request</title> <h1>Bad Request</h1> <p>The CSRF tokens do not match.</p>
This issue is coming on intermittently not all the time.
So Actions I have performed are:
Updated the public role to allow all the charts to be displayed, datasources,
[can userinfo on UserDBModelView, can list on UserDBModelView, can show on UserDBModelView, can list on SliceModelView, can show on SliceModelView, can list on DashboardModelView, can show on DashboardModelView, can list on DatabaseView, can list on DashboardModelViewAsync, can dashboard on Superset, can explore json on Superset, menu access on Dashboards, all datasource access on all_datasource_access, datasource access on [None].SelectAllData-xxxx, datasource access on [None].SelectAllData-DRGJDcTLj, datasource access on [None].SelectAllData-xxxxx, datasource access on [superset_mysql_db].Superset Admin-SelectAllData-xxxx]
Then I went inside the directory where the superset is installed and updated the settings config.py
PUBLIC_ROLE_LIKE_GAMMA = True
SESSION_COOKIE_SAMESITE = None # One of [None, 'Lax', 'Strict']
SESSION_COOKIE_HTTPONLY = False
But still I am getting error few a times.
Sometime one of the chart gets loaded sometimes it doesn't.
help pls!!!!!
In my testing server embedding worked when I put this line in my loaded "superset_config.py" file.
WTF_CSRF_ENABLED = False

Found multiple PersistentRecords

We have a component in Urbancode Deploy v6.2.3.1.884609, and when we edit the settings, and try to Save, we get the following Error:
Error received when trying to save the component
Any idea of the cause of this?

Libgdx html (gwt) font error - Invalid page id

When I try to run html application I get this error in browser:
GwtApplication: exception: Error loading font file: fonts/comic-en.fnt
Error loading font file: fonts/comic-en.fnt
Invalid page id:
For input string: ""
Android build runs always successfully, the font file is correct. This bug happens even while running libgdx sample projects. Is there some secret magic?
Fixed in github.com/libgdx/libgdx/pull/4475

Appcelerator message = "JSON Parse error: Unexpected identifier \"undefined\"";

I am adding new features to an app I wrote last years and is working now ... I just port the code from Appcelerator (3.2...) to the Appcelerator Studio 5.2.0.GA SDK ... and I have spent 2 days trying to figure out why code that currently works on an app in the app store is not working in the SDK 5.2.0 environment
I keep getting the above error .. I am positive the url is correct and working
This line of code works now in the app in the store and in 3.1... but is not working in 5.2.0
var jsonObject = JSON.parse(this.responseText);
It gives the above error
"JSON Parse error: Unexpected identifier \"undefined\"";
I have read their site and searched for a solution ... Thanks
entire Block
Try one thing:
Open this site and put your response data in which you are getting error https://jsonformatter.curiousconcept.com
After parsing the same data on the above site, you can check whether the problem is really in your Titanium code or in your data.
Also check whether you are really getting any response data or not.
If it does not help, then please share some necessary source code
Thanks

unable to run activeX control in IE

Im trying to embed some application in IE by creating activeX control. I've got xyz.dll. Normally if I register this dll through command prompt(batch file), the embedding is successful. But if i use the cab file methodolgy, only the first snapshot of application loads in IE(embedded application fails to run) inspite of the fact that registration of dll is taking place.
xyz.cab file contains, xyz.dll and xyz.inf.
The xyz.inf is as following:
[version]
signature="$CHICAGO$"
AdvancedINF=2.0
[Add.Code]
xyz.dll=xyz.dll
[Deployment]
InstallScope=user|machine
[xyz.dll]
file-win32-x86=thiscab
clsid={HJI9D4D39-K9F5-489B-8032-CCHB1B189J10}
FileVersion=1,0,0,0
RegisterServer=yes
RedirectToHKCU=yes
HRESULT IEInstallScope(LPDWORD pwdScope);
I'm making cab file through makecab.exe and im signing cab file too with signtool.exe and makecert technique and finally the excerpt from the html is as following:
...
CLASSID="clsid:HJI9D4D39-K9F5-489B-8032-CCHB1B189J10"
CODEBASE="C:\xyz\13\plugins\ie\xyz.cab#Version="1,0,0,0"
...
So i dont know why Im facing this problem.The reason may be because thers something Im mistaking inside inf file or I dont know the exact usage of "HRESULT IEInstallScope(LPDWORD pwdScope); "or is it associated with dll????
please help me!!!!!!
EDIT:::well this worked out for me, but i still dont know why registerserver=yes fails to embedd activex perfectly::
new inf file is as following:
[version]
signature="$CHICAGO$"
AdvancedINF=2.0
[Add.Code]
xyz.dll=xyz.dll
[Deployment]
InstallScope=user|machine
[Setup Hooks]
xcxc=xcxc
xcxc1=xcxc1
[xyz.dll]
file-win32-x86=thiscab
clsid={HJI9D4D39-K9F5-489B-8032-CCHB1B189J10}
FileVersion=13,0,0,0
RegisterServer=yes
RedirectToHKCU=yes
HRESULT IEInstallScope(LPDWORD pwdScope);
[regDll]
hook=xcxc
[xcxc]
run=C:\Windows\System32\regsvr32.exe "C:\xyz\13\plugins\ie\xyz.dll"
[abcDll]
hook=xcxc1
[xcxc1]
run=C:\Windows\syswow64\regsvr32.exe /u /s "C:\xyz\13\plugins\ie\xyz.dll"