Skip to content

I have this issue when I going to build on WEBGL, don't know why is happening #11

Open

Description

@RodwelJunior09

Library\PackageCache\com.unity.tiny.rendering@0.22.0-preview.7\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.22.0-preview.7\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?)

Activity

  1. suiboli314 commented on May 29, 2020

    @suiboli314

    Project Tiny version is now 0.26.0. Maybe an update can fix it. Also see #10 , hope it can help you build the project.
    I just cloned the project, built TinyRacing in Webassembly, and ran successfully in Chrome, even though in editor it reports error and prevents me from playing.

    InvalidOperationException: GetSingleton<Unity.Tiny.DisplayInfo>() requires that exactly one Unity.Tiny.DisplayInfo exist that match this query, but there are 0. TinyRacing.Systems.UpdateCarInputs.OnStartRunning () (at Assets/Scripts/TinyRacing/Systems/UpdateCarInputs.cs:23)

    InvalidOperationException: The NativeArray has been deallocated, it is not allowed to access it. TinyRacing.Systems.UpdateCarLapProgress.OnDestroy () (at Assets/Scripts/TinyRacing/Systems/UpdateCarLapProgress.cs:100)

  2. RodwelJunior09 commented on Jun 2, 2020

    @RodwelJunior09
    Author

    I manage to do an update on all the packages of the tiny packages. But it was giving me errors still. Maybe the packages that use the old versions should be updated on the unity asset store. Thanks for the help anyways. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions