Quantcast
Channel: Questions in topic: "webgl"
Viewing all 2390 articles
Browse latest View live

No files exports but still "sucess"

$
0
0
Hi, Im using unity 2018.3.5f1 I want to export for webgl but this happens... (i just made a test project) ![alt text][1] [1]: /storage/temp/153536-xxcx.jpg No files is being exported to my build folder but it still says "with a result of suceeded" What is the problem?

Unity 2020.1 sendMessage no longer works from browers JS

$
0
0
The new version does not have instantiate in the .js file. There is no this line var unityInstance = UnityLoader.instantiate("unityContainer", "Build/YourBuild.json", {onProgress: UnityProgress}); If I try `unityInstance.SendMessage("ObjectName","methodname",value);` The console in brower reports unityInstance not defined. How do I send message from browser to webgl now?

Error when testing on WebGL

$
0
0
Hi guys! Anyone knows why i get this error when im trying to play on Web GL? did it ever happend to you too? The game works perfectly on PC. ![alt text][1] [1]: /storage/temp/153823-error.png

WebGL & denying browser script access to game methods?

$
0
0
**Hi**, as the title stated Im trying to figure out if I can make my methods used in the game NOT accessible from browser scripts. **Senario:** I have a game and my player object has a playerdata-field holding the currency of the player. I also have a method using either Public or Internal access flag called AddCurrency() which adds X amount of currency specified. Now, a user could send this to the game and add however much currency he wants: unityInstance.SendMessage('Player', 'AddCurrency', 999999); // Example What can I do to prevent this from happening? Any access flag Im unaware off? (Also, what is going on with the spacing in this ASK form. So broken...) Thanks in advance! Cheers, ~ N

WebGl Xml parsing probrem

$
0
0
Xmle206ee04-5bcb-40e6-bf95-1b2af5764aef XmlClass public class ReportTEST { [XmlElement(ElementName = "Id")] public string Id { get; set; } } Code XmlReader xmlReader = XmlReader.Create(new StringReader(text)); XmlSerializer xmlSerializer = new XmlSerializer(typeof(ReportTEST)); ReportTEST ttt = new ReportTEST(); ttt = (ReportTest)xmlSerializer.Deserialize(xmlReader); It doesn't work only WebGl. ttt = (ReportTest)xmlSerializer.Deserialize(xmlReader); <-- has no error. but ttt.Id is empty; How can i convert it?

How to save blob in bytes to sqlite

$
0
0
Hello! I'm a beginner with Unity. I'm having problem which I am trying to save a png to my database but the png needs to convert to bytes first. // Use this for initialization void Start () { if (Application.platform != RuntimePlatform.Android) { path = Application.dataPath + "/StreamingAssets/SqliteBlob.bytes"; } else { path = Application.persistentDataPath + "/SqliteBlob.bytes"; if (!File.Exists (path)) { WWW load = new WWW ("jar:file//" + Application.dataPath + "!/assets/" + "SqliteBlob.bytes"); while (!load.isDone) { } File.WriteAllBytes (path, load.bytes); } //opening connection dbcon = new SqliteConnection ("URI = file:" + path); dbcon.Open (); // GetImageTexture ("SELECT blobContent FROM 'blobTable' WHERE id='" + id + "' ", out BlobTexture, out BlobWidth, out BlobHeight); // GameObject.Find ("ContentImage").GetComponent ().sprite = Sprite.Create (BlobTexture, new Rect (0, 0, BlobWidth, BlobHeight), new Vector2 (0.5f, 0.5f)); } } // save image to blobtable db when the save_btn was click public void click_ImageSave(){ Sprite blobR = Resources.Load("Images/white_black") as Sprite; Texture2D blobtex = blobR.texture; byte[] blobImage = blobtex.EncodeToPNG (); //returns bytes SaveBlobData("blobTable", blobImage); Debug.Log ("Successfully saved!"); } public static bool SaveBlobData(String tableName, byte[] BlobContent) { string query; query = "INSERT INTO " + tableName + "(blobContent) VALUES (@BlobContent)"; try { dbcmd = dbcon.CreateCommand(); dbcmd.CommandText = query; SqliteParameter setParam = new SqliteParameter("@BlobContent", BlobContent); setParam.Size = BlobContent.Length; setParam.DbType = DbType.Binary; dbcmd.Parameters.Add(setParam); dbcmd.ExecuteNonQuery(); } catch(Exception ex) { Debug.LogError(ex.Message); return false; } return true; } void GetImageTexture(string Query, out Texture2D tex, out int width, out int height) { tex = new Texture2D (1024, 1024); tex.LoadImage (GetBlobData (Query)); width = tex.width; height = tex.height; } public static byte[] GetBlobData(string Query){ byte[] BlobContent = new byte[0]; dbcmd = dbcon.CreateCommand(); dbcmd.CommandText = Query; reader = dbcmd.ExecuteReader(); while (reader.Read()) { BlobContent = (byte[])reader["blob"]; } return BlobContent; }

Memory Access Out of Bounds - WebGL

$
0
0
I was getting this error when I try to load my Web game: ![alt text][1] My game is loaded at this domain: [Highest Flavor Website Link][2] This is my project settings at the time of build export: ![alt text][3] Please give me some suggestion to solve this problem. [1]: /storage/temp/154080-access-out-of-bounds-webgl.png [2]: https://highestflavor.com/ [3]: /storage/temp/154081-web-gl-settings.png

WEbGL doesnt work n latest version of Unity 2019.3

$
0
0
I'm trying to build webgl in the 2019.3 version on mac, it ask for the location to save but never adds any files to it

showing a depth view rather than skybox view in webgl?,I am showing depth background rather than a skybox in webgl

$
0
0
hi. I am getting an issue when I deploy my application to webgl, my first scene shows the skybox background but my other scenes shows the depth view. So, how can I show the skybox view rather than the depth view in webgl. thanks for the help.,hi. I am having an issue where when deploying to webgl, my first scene shows the skybox background but my other scenes shows a depth view background. is there a way to fix this issue. thanks for the help.

Webgl Export not working.

$
0
0
Hello, I have exported my game multiple times to Webgl and some components do not work. I have this script ` void Start() { StartCoroutine("Stop"); StopAllCoroutines(); } IEnumerator Stop() { yield return new WaitForSeconds(1); rb.constraints = RigidbodyConstraints.FreezePositionZ; yield return new WaitForSeconds(5); rb.constraints = RigidbodyConstraints.None; yield return new WaitForSeconds(1); StopAllCoroutines(); Debug.Log("STOP"); } void OnCollisionEnter(Collision collisionInfo) { if (collisionInfo.collider.name == "stopblock") { StartCoroutine("Stop"); } } ` and the purpose is to make the player stop for 5 seconds, however, even though this works in unity it does not work in the local drive. Any ideas? Thanks!

I have a project in unity for WebGl, but I need to connect to an arduino by serial port,

$
0
0
Hi, I have a project in unity for WebGl, but I need to connect to an arduino by serial port, the application does not detect the port to connect to the arduino, can you help me?

Problem with Image Uploading to the server

$
0
0
I have a script to upload the image on the server and to get the link from that server. The route is working just fine. When I test route with postman all works just fine. But when I try to upload image from localhost it gives me **Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:3000/api/images. (Reason: CORS request did not succeed).** IEnumerator UploadFileCo(byte[] bytesOfImage, string uploadUrl) { WWWForm formData = new WWWForm(); string nameOfTheFile = "screenshot" + Time.deltaTime + Time.time; nameOfTheFile = nameOfTheFile.Replace(".", ""); nameOfTheFile += ".png"; Debug.Log(bytesOfImage.Length); //postForm.AddBinaryData("image", bytesOfImage, nameOfTheFile); formData.AddBinaryData("image", bytesOfImage, nameOfTheFile); UnityWebRequest upload = UnityWebRequest.Post(uploadUrl, formData); yield return upload.SendWebRequest(); if (upload.error == null) { //FacebookShareLink(json.filename); Debug.Log("200"); FacebookShareLink(nameOfTheFile); } else { Debug.Log("Error during upload: " + upload.error); } // JSONHeader json = JsonUtility.FromJson(upload); GameEvents.Current.ServerConnectionEstabilished(); } P.S. My target platform is WEB

WebGl Build Failing - Stack Size Issue,WebGl

$
0
0
Recently, whenever I try to build any project of mine to WebGL, I get the same few error messages. For reference, here is the [build log][1]. The main error (at least, what I believe is the main error) is this: stderr:ERROR:root:'C:/Program Files/Unity/Hub/Editor/2019.3.6f1/Editor/Data\Tools\nodejs\node.exe --stack_size=8192 --max-old-space-size=4096 C:\Program Files\Unity\Hub\Editor\2019.3.6f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\tools\js-optimizer.js C:\Users\Aiden\AppData\Local\Temp\tmpqcxyxc\build.bc.o.js.pp.js.mem.js noPrintMetadata AJSDCE minifyWhitespace' failed This suddenly started about a week ago. I have tried reinstalling Unity and the WebGL module, I am on the newest version (2019.3.6f1), and I am stuck. [1]: /storage/temp/154849-editor.txt

How to get WebGL PlayerPref values out of Indexeddb?

$
0
0
If I grab the Uint8Array PlayerPrefs from IndexedDB, say as a text file, how would I then import this back into Unity's PlayerPrefs? How do I decode what the keys and values are?

WebGL Build cutting out top and bottom of UI Canvas elements

$
0
0
Hi everyone just to start this off I want to say I do not intend to monetize this project, I am using these pokemon sprites and doing this as a learning experience. The issue that I am having is that when I build to WebGL, the game looks great when on full screen on most resolutions however when it is in windowed mode it cuts off the top and bottom of the screen . https://answers.unity.com/storage/temp/154946-not-fs.png https://answers.unity.com/storage/temp/154947-fs.png Things I already have/have tried: 1. Canvas is set to scale with screen size (1920x1080) which is what my game view was in for development 2. In Build -> Player Settings the default width and height is 1920x1080 I think the issue has something to do with the default scale in unity. When I press play the game view has 2 black bars on the side and I need to scale inward to 1x to get the game to look right. Should I just rebuild my UI to look good at 1080p 1x scale? I'm not sure why unity would automatically scale me out with letterboxes in this case.

il2cpp.exe did not run properly, a python compile error

$
0
0
I have the log here: Failed running T:\Unity\3.1\Editor\Data\il2cpp/build/deploy/net471/il2cpp.exe --convert-to-cpp --dotnetprofile="unityaot" --compile-cpp --libil2cpp-static --platform="WebGL" --architecture="EmscriptenJavaScript" --configuration="Release" --outputpath="C:\RollingCube 2020\Assets /../Temp/StagingArea/Data\Native\build.bc" --cachedirectory="C:\RollingCube 2020\Assets\..\Library/il2cpp_cache" --compiler-flags="-Oz -DIL2CPP_EXCEPTION_DISABLED=1 " --emit-method-map --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_AccessibilityModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_AIModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_AndroidJNIModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_AnimationModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_AssetBundleModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_AudioModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_ClothModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_CoreModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_CrashReportingModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_DirectorModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_DSPGraphModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_GameCenterModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_GridModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_HotReloadModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_ImageConversionModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_IMGUIModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_InputLegacyModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_InputModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_JSONSerializeModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_LocalizationModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_ParticleSystemModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_PerformanceReportingModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_Physics2DModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_PhysicsModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_ProfilerModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_ScreenCaptureModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_SharedInternalsModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_SpriteMaskModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_SpriteShapeModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_StreamingModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_SubstanceModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_SubsystemsModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_TerrainModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_TerrainPhysicsModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_TextCoreModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_TextRenderingModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_TilemapModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_TLSModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_UIElementsModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_UIModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_UmbraModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_UNETModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_UnityAnalyticsModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_UnityConnectModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_UnityTestProtocolModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_UnityWebRequestAssetBundleModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_UnityWebRequestAudioModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_UnityWebRequestModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_UnityWebRequestTextureModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_UnityWebRequestWWWModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_VehiclesModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_VFXModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_VideoModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_VRModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_WebGLModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_WindModule_Dynamic.bc" --additional-libraries="T:/Unity/3.1/Editor/Data/PlaybackEngines/WebGLSupport\BuildTools\lib\modules\WebGLSupport_XRModule_Dynamic.bc" --profiler-report --map-file-parser=T:/Unity/3.1/Editor/Data/Tools/MapFileParser/MapFileParser.exe --directory="C:/RollingCube 2020/Temp/StagingArea/Data/Managed" --generatedcppdir="C:/RollingCube 2020/Temp/StagingArea/Data/il2cppOutput" stdout: Building build.bc with EmscriptenToolChain Output directory: C:\RollingCube 2020\Temp\StagingArea\Data\Native Cache directory: C:\RollingCube 2020\Library\il2cpp_cache ObjectFiles: 147 of which compiled: 0 Total compilation time: 197 milliseconds. Response file: C:\Users\Saber��~\AppData\Local\Temp\_17233~1\response.rsp Response file: C:\Users\Saber��~\AppData\Local\Temp\_75846~1\response.rsp il2cpp.exe didn't catch exception: Unity.IL2CPP.Building.BuilderFailedException: "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten_Win\python\2.7.5.3_64bit\python.exe" -E "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\emcc" -o "C:\RollingCube 2020\Library\il2cpp_cache\linkresult_2302F48721E542B2F6682936CD677646\build.bc" -s TOTAL_MEMORY=384MB -s DISABLE_EXCEPTION_CATCHING=0 -s WASM=0 -O3 "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_AccessibilityModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_AIModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_AndroidJNIModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_AnimationModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_AssetBundleModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_AudioModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_ClothModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_CoreModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_CrashReportingModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_DirectorModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_DSPGraphModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_GameCenterModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_GridModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_HotReloadModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_ImageConversionModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_IMGUIModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_InputLegacyModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_InputModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_JSONSerializeModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_LocalizationModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_ParticleSystemModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_PerformanceReportingModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_Physics2DModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_PhysicsModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_ProfilerModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_ScreenCaptureModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_SharedInternalsModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_SpriteMaskModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_SpriteShapeModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_StreamingModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_SubstanceModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_SubsystemsModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_TerrainModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_TerrainPhysicsModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_TextCoreModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_TextRenderingModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_TilemapModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_TLSModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_UIElementsModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_UIModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_UmbraModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_UNETModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_UnityAnalyticsModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_UnityConnectModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_UnityTestProtocolModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_UnityWebRequestAssetBundleModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_UnityWebRequestAudioModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_UnityWebRequestModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_UnityWebRequestTextureModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_UnityWebRequestWWWModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_VehiclesModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_VFXModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_VideoModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_VRModule_Dynamic.bc" "T:\Unity\3.1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\modules\WebGLSupport_WebGLModule_Dynam I would be rather appreciate if someone has any solutions on it... I did some research on google but it seems not working at all!

WebGL Help (mouse tracking)

$
0
0
When using the zoom function in .css - the mouse loses tracking. I click on buttons but they are not "clickable" anymore, nothing happens. If I remove the zoom function, buttons starts to work, but I need that function.
.webgl-content
{
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
zoom: 0.5;
}

Same as: https://answers.unity.com/questions/1263482/correction-of-input-position-after-scaling-of-webg.html

Multiplayer where Client as Viewer/Spectator only, what ever changes happens in server side client can only view it?

$
0
0
I am building simulations for schools where the teacher will be teaching using WebGL build simulations. And the student will be using it on an android phone. Whatever teacher changes in his WebGL build should reflect in student side and student should not interact with the simulation it should be view only for the student. I know it can be done by screen sharing, but it will take a lot of bandwidth so to overcome that I am installing the application in both student and teacher side. And only the changes will be transferred to the student side. Can anybody please help me on how to achieve this?

How to load a javascript module and use it?

$
0
0
I have a JavaScript library I need to use.It is a js module and than all the js needed to interact with this module is in js as well.Do i need to change all those js files to .jslib files and make the necessary calls to interact with buttons?

Upload a game to WebGL

$
0
0
I have completed the tutorial of creating a Karting game in Unity nut when I try to complete the tutorial in which I have to upload the game to WebGL by clicking on the Share WebGL Game button, it says that you need to build a WebGL build to share your game. Please help.,I have created a Karting game in Unity but when I try to upload the game to WebGL by clicking the Share WebGL Game button, it says that you need to build a WebGL build to share your game.Please help.
Viewing all 2390 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>