WebGL Errors when Switched

General support.
Post Reply
User avatar
idevops
Member
Member
Posts: 21
Joined: Mon Sep 23, 2019 7:44 pm

I switched my build options to WebGL and I started getting reference and namespace errors. Any idea how to resolve these?

Assets\MFPS\Scripts\Network\Lobby\bl_Lobby.cs(1187,47): error CS0246: The type or namespace name 'bl_LevelPreview' could not be found (are you missing a using directive or an assembly reference?)
Assets\MFPS\Scripts\Network\Lobby\bl_Lobby.cs(1187,9): error CS0246: The type or namespace name 'bl_LevelPreview' could not be found (are you missing a using directive or an assembly reference?)
Assets\MFPS\Scripts\Network\Lobby\bl_Lobby.cs(1324,30): error CS0103: The name 'bl_LevelManager' does not exist in the current context

If I switch it back to PC it starts working again.
User avatar
skr2000
Contributor
Contributor
Posts: 169
Joined: Thu Feb 02, 2017 8:23 pm

Probably Scripting Define Symbol issue. Check it.
User avatar
idevops
Member
Member
Posts: 21
Joined: Mon Sep 23, 2019 7:44 pm

I had to remove LM from the player settings and it worked.
User avatar
idevops
Member
Member
Posts: 21
Joined: Mon Sep 23, 2019 7:44 pm

get major issues when I try to use voice with webgl though
User avatar
Lovatto
Admin
Admin
Posts: 1834
Joined: Sun Dec 07, 2014 3:18 pm
Contact:

idevops wrote:get major issues when I try to use voice with webgl though
is because Photon Voice doesn't work in WebGL.
How to find your Invoice Number: Here
How to find your Order Number: Here
Post Reply