Unity-Technologies / ProjectTinySamples

Samples for Project Tiny
Other
873 stars 242 forks source link

Can not build for WebGL #5

Closed makayait closed 4 years ago

makayait commented 4 years ago

I opened the project in Unity 2019.3.0f3 and everything worked fine in the Windows build mode. I am however getting the following errors when I switch my platform to WebGL;

Library\PackageCache\com.unity.tiny.rendering@0.20.0-preview.3\Runtime\Unity.Tiny.Rendering.Native\RendererBGFX.cs(12,18): error CS0234: The type or namespace name 'Web' does not exist in the namespace 'Unity.Tiny' (are you missing an assembly reference?)

Library\PackageCache\com.unity.tiny.rendering@0.20.0-preview.3\Runtime\Unity.Tiny.Rendering.Native\ShadersBGFX.cs(12,18): error CS0234: The type or namespace name 'Web' does not exist in the namespace 'Unity.Tiny' (are you missing an assembly reference?)

makayait commented 4 years ago

Nvm, I figured out that I need to use the new build manager to make builds.

jcunity commented 4 years ago

User figured it out.

RodwelJunior09 commented 4 years ago

Can you help me I have the same problem, right now