Open RodwelJunior09 opened 4 years ago
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
() 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)
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. 👍
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?)