Search Issue Tracker

Fixed in 1.0.0-pre.14

Votes

5

Found in [Package]

1.0.0-pre.10

Issue ID

1386284

Regression

No

Unity Transport fails to build on WebGL

Package: Unity Transport

-

How to reproduce:
1. Open the attached "webgltransporttest.zip" project
2. Go to File > Build Settings...
3. Select the WebGL platform
4. Build the project

Expected results: You are able to build the project
Actual results: Can't build project due to com.unity.transport compiler errors

Reproducible with: 1.0.0-pre.10 (2020.3.24f1), 1.0.0-pre.10 (2021.1.28f1), 1.0.0-pre.10 (2021.2.6f1), 1.0.0-pre.10 (2022.1.0b2)
Not reproducible with: 0.3.1-preview.4 (2019.4.34f1)

Notes: Reproducible with every package version of com.unity.transport from 0.7.0 and onwards

Compiler errors:
Library\PackageCache\com.unity.transport@1.0.0-pre.10\Runtime\NetworkSettings.cs: error CS0246: The type or namespace name 'BaselibNetworkParameter' could not be found (are you missing a using directive or an assembly reference?)

Library\PackageCache\com.unity.transport@1.0.0-pre.10\Runtime\NetworkSettings.cs: error CS0103: The name 'BaselibNetworkParameterExtensions' does not exist in the current context

  1. Resolution Note (fix version 1.0.0-pre.14):

    Fixed in Unity Transport 1.0.0-pre.14

Comments (4)

  1. sneck

    Apr 30, 2022 18:12

    Found solution on my case

    You should install libssl1.1 and dotnet-sdk-6.0
    On my side, I use Ubuntu 22.04

  2. sneck

    Apr 30, 2022 17:12

    I'm having the same issue.

  3. smallrice45

    Jan 11, 2022 16:42

    I'm having the same issue.

  4. zodiacglassinc

    Dec 29, 2021 07:31

    I'm having the same issue.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.