I made a game project in unity. And I want to build this to WebGL. But when it build, it shows error like
I searched the solution, and everyone say "delete using UnityEditor". So I did that, but it has error when I delete that in Photon script.
How can I my game build in Webgl with not delete using UnityEditor. Or How can I fix the error another solution ? Thank you for your anything helps.
I found the cause. I use Photon voice chat, but it doesn’t support WebGL. Remove that asset and project build work well.
Related
I'm making an AR app for my thesis project using unity and vuforia. My project works perfectly on the web but when I want to build I get this bug that I don't know how to fix. Can anyone please explain to me why do i get this error and how i can fix it?
I have tried installing Vuforia in a new project and starting over to see if the bug would disappear but it was again there in the new project.
Saving Prefab to immutable folder is not allowed: Packages/com.ptc.vuforia.engine/Vuforia/Prefabs/DefaultPlaneIndicator.prefab
UnityEngine.StackTraceUtility:ExtractStackTrace ()
hey I am doing a unity basic course from unity itself, in one of its parts, it wants us to work with a microgame and share its WebGL link once we manage to build it
here is an error image
here is the link for my edited microgame https://play.unity.com/p/noobshooter/edit
I have tried to add the link multiple times but nothing is happening
what should I do now?
Have you tried adding: https://play.unity.com/p/noobshooter instead?
Unity Version: Unity 2019.3.9f1
Vuforia Version: 9.0.12
The app works fine in unity editor, it builds and runs successfully without error but no camera feed (black screen). Can't seem to find up to date solutions online.
Updated the Vuforia version to 9.2.7 does not seem to solve the problem.
I don't think to check the "Vuforia Augmented Reality Supported" under the "XR Settings" is an option, because it's able to deprecate. Also Checking the "Windows Mixed Reality" plug-in under XR Plug-in Management didn't solve the problem.
I already checked the "InternetClient" and "WebCam" in the publish setting for UWP.
Do I need to change anything in ARCamera's "Open Vuforia Engine configuration"? Some solutions mention disabling the Vuforia play mode will help, but I can't seem to find the option anywhere.
Anyone encountered the same issue and find a solution? Thanks.
I don't have a current solution, but would like to share my experience working with vuforia, UWP.
I found that there are varying breaking versions of unity and vuforia's SDK.
The latest version may not necessarily work I had to trial and error before I found a compatible version, so you might want to try that out. perhaps a older version of either unity/vuforia in reference with https://library.vuforia.com/platform-support/supported-versions.html
And yeah, definitely run your "hello world" tests on the sample projects first.
Best of luck, it's a great SDK ,once you get it to work.
I don't know if this has already been asked but I am trying to build an app in unity using the Mapbox SDK. The problem is that when I try building it in a WebGL format, then it says this:
"Build completed with a result of 'Failed'
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)"
Does anyone if Mapbox supports building in WebGL and if not, what another way can I use to share my app as an online game?
I hope this is enough info. Please try and make it simple, I don't know much about this kind of stuff.
Thank you!
WebGL is still under preview and alot of things don't work in it, to share your game over the web you could build as Windows application, then zip the output folder, put it in a github repo and link the repo to people you want to share your game to. If its a mobile game you can build as an APK and share you apk via github as well. Of course there is other options too but just to give you some ideas.
From below 2 posts, it appears that in order to build it on WebGL, you would have to get rid of the AR folders and files.
https://github.com/mapbox/mapbox-gl-js/issues/7531
https://medium.com/#jonathanwitcoski/day-20-making-a-webgl-game-in-unity-with-mapbox-sdk-31aeb147df15
I am using Unity 2019.3.6f1 and Google Mobile Ads Unity Plugin v5.0.1. I have imported the plugin to my Unity editor. When I try to resolve, error message appear and ask to look at console. Message at console "Failed to fetch the following dependencies: com.google.android.gms:play-services-ads:19.0.0". This is my third time making game using unity but first time happen to me. Hope anyone can give me idea what is happening and how to fix this.
"Can you confirm that you have the externs.cpp file in Assets/Plugins/Android (included in the Google Mobile Ads Unity package) and that it is checked for inclusion in Android builds, as per below?"
Answer taken from Issue in v5.0.1. See this.