Yakut
Yakut9mo ago

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
kapa.ai
kapa.ai9mo ago
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: ----------------------
kapa.ai
kapa.ai9mo ago
<@785692603684225025> kapa.ai is still learning and improving, please let us know how it did by reacting below
Mechabit
Mechabit9mo ago
don't use the alpha version. webgl support was added to the latest version of 2.x
Yakut
YakutOP9mo ago
this version?
No description
Yakut
YakutOP9mo ago
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
Mechabit
Mechabit9mo ago
I haven't tried it. @Max chime in?
Yakut
YakutOP9mo ago
i change two settings in publishing settings, maybe it affect the connection?
No description
Yakut
YakutOP9mo ago
disabling compression format and enable decompression fallback uhmm sir? @Max but it can connect offline mode
maxweisel
maxweisel9mo ago
@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
Yakut
YakutOP9mo ago
so, i need webgl alpha so my webgl game can connect to the room?
maxweisel
maxweisel9mo ago
does your game need audio? and are you in the webgl private alpha?
Yakut
YakutOP9mo ago
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
maxweisel
maxweisel9mo ago
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
Yakut
YakutOP9mo ago
No description
Yakut
YakutOP9mo ago
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.
maxweisel
maxweisel9mo ago
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
Yakut
YakutOP9mo ago
i've hosted it at my github
maxweisel
maxweisel9mo ago
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
Yakut
YakutOP9mo ago
webgl required paid plan?
maxweisel
maxweisel9mo ago
yes it does
Yakut
YakutOP9mo ago
Yooo, im going to upgrade to pro plan, do you have any promo code?
Yakut
YakutOP9mo ago
i see this log, does that mean i can connect the server, but i got force disconnect because im not at pro plan?
No description
Yakut
YakutOP9mo ago
or it was force disconnect before i can connect to the server? it says Room : ConnectToRoom request
Mechabit
Mechabit9mo ago
it clearly says you need a paid plan
Yakut
YakutOP9mo ago
hmm okok can you help me after upgrading to paid plan? h3h3
Mechabit
Mechabit9mo ago
ill answer any question i can

Did you find this page helpful?