How do I import normcore webgl
How do I import normcore webgl if theres error in my project
" Project has invalid dependencies:
com.normalvr.normcore: Package [com.normalvr.normcore@3.0.0-webgl-alpha.X] cannot be found"
27 Replies
Hi @Yakut. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
To import Normcore WebGL into your Unity project, you need to follow these steps:
1. Create a fresh Unity project (preferably 2019 LTS or 2020 LTS), and import the Normcore unitypackage.
2. Wait for Unity to compile and import the Normcore UPM Package. This process is complete once "Normcore" appears in the Package Manager list of installed packages.
3. Open up
Packages/manifest.json
and change the com.normalvr.normcore
package version to 3.0.0-webgl-alpha.X
. Switch back to Unity and wait for the plugin to be updated. Upon successful import, you may be prompted to upgrade to Normcore 2.0.x; you can safely ignore this message.
If you're encountering an error stating that the package com.normalvr.normcore@3.0.0-webgl-alpha.X
cannot be found, it could be due to a few reasons:
- The specified version 3.0.0-webgl-alpha.X
might not be available or correct. Make sure you have the correct version number.
- There might be an issue with the Unity Package Manager not being able to reach the package registry. Ensure you have a stable internet connection and that there are no firewall or security settings blocking Unity from accessing the internet.
- The Normcore WebGL feature is currently in alpha. If you would like access, you may need to contact NormalVR (https://normcore.io/contact) for access.
If the issue persists, I recommend reaching out to the Normcore community on their Discord server (https://normcore.io/discord) for further assistance.
Source (https://normcore.io/documentation/platforms/webgl)
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------<@785692603684225025> kapa.ai is still learning and improving, please let us know how it did by reacting below
don't use the alpha version. webgl support was added to the latest version of 2.x
this version?
anyway, did should do any configuration? i can't connect to room when using webgl, but i can connect in my unity editor
i use 2.10.4 version
I haven't tried it. @Max chime in?
i change two settings in publishing settings, maybe it affect the connection?
disabling compression format and enable decompression fallback
uhmm sir? @Max
but it can connect offline mode
@Yakut you need to be in the webgl alpha to use that package. If you’re in the alpha, we’ve posted a copy of the package to embed in the private webgl alpha channel
so, i need webgl alpha so my webgl game can connect to the room?
does your game need audio? and are you in the webgl private alpha?
i dont need audio, im not using any normcore private
i just want to build my game in webgl
you can look at my problem sir, i can't even using the 3.0 webgl version
if you don’t need audio then any regular version of Normcore 2.10.0 and above will work
don’t use the webgl alpha package
i use 2.10.4 version
but i dont know why, i can't connect to the room on Webgl platform, in otherplatform, it works normally.
look at chrome logs, most likely you need to host it at a URL with https
chrome is very strict about webrtc and websocket connections
i've hosted it at my github
I don’t think that will work, you need a host that can server wasm and gz files with the proper headers
look at the chrome logs
it will tell you what’s wrong
webgl required paid plan?
yes it does
Yooo, im going to upgrade to pro plan, do you have any promo code?
i see this log, does that mean i can connect the server, but i got force disconnect because im not at pro plan?
or it was force disconnect before i can connect to the server? it says Room : ConnectToRoom request
it clearly says you need a paid plan
hmm okok
can you help me after upgrading to paid plan? h3h3
ill answer any question i can