Closed baalimago closed 4 years ago
Hello, I'm trying to build and run Tiny3D to Wasm using Ubuntu 18.04, Unity version 2019.3.2f1, but can't. This is full stacktrace:
Build Wasm-Tiny3D failed in BuildStepExportEntities after 82ms. liblz4 at (wrapper managed-to-native) Unity.Tiny.Codec.CodecService.CompressBoundLZ4(int) at Unity.Tiny.Codec.CodecService.CompressUpperBound (Unity.Tiny.Codec.Codec codec, System.Int32 size) [0x00012] in /home/lorkin/related_to_projects/ProjectTinySamples/Tiny3D/Library/PackageCache/com.unity.dots.runtime@0.22.0-preview.5/Unity.Tiny.Codec/Codec.cs:30 at Unity.Tiny.Codec.CodecService.Compress (Unity.Tiny.Codec.Codec codec, System.Byte*& src, System.Int32 srcSize, System.Byte*& dst, Unity.Collections.Allocator allocator) [0x00001] in /home/lorkin/related_to_projects/ProjectTinySamples/Tiny3D/Library/PackageCache/com.unity.dots.runtime@0.22.0-preview.5/Unity.Tiny.Codec/Codec.cs:46 at Unity.Entities.Runtime.Build.WorldExport.WriteWorldToFile (Unity.Entities.World world, System.IO.FileInfo outputFile) [0x000dc] in /home/lorkin/related_to_projects/ProjectTinySamples/Tiny3D/Library/PackageCache/com.unity.dots.runtime@0.22.0-preview.5/Unity.Entities.Runtime.Build/WorldExport.cs:63 at Unity.Entities.Runtime.Build.BuildStepExportEntities.<RunBuildStep>g__ExportSceneToFile|6_0 (UnityEngine.SceneManagement.Scene scene, System.Guid guid, Unity.Entities.Runtime.Build.BuildStepExportEntities+<>c__DisplayClass6_0& ) [0x0008d] in /home/lorkin/related_to_projects/ProjectTinySamples/Tiny3D/Library/PackageCache/com.unity.dots.runtime@0.22.0-preview.5/Unity.Entities.Runtime.Build/BuildStepExportEntities.cs:61 at Unity.Entities.Runtime.Build.BuildStepExportEntities.RunBuildStep (Unity.Build.BuildContext context) [0x000a0] in /home/lorkin/related_to_projects/ProjectTinySamples/Tiny3D/Library/PackageCache/com.unity.dots.runtime@0.22.0-preview.5/Unity.Entities.Runtime.Build/BuildStepExportEntities.cs:76 at Unity.Build.BuildPipeline.RunBuildSteps (Unity.Build.BuildContext context) [0x00100] in /home/lorkin/related_to_projects/ProjectTinySamples/Tiny3D/Library/PackageCache/com.unity.build@0.1.0-preview.1/Editor/Unity.Build/BuildPipeline.cs:241 UnityEngine.Debug:LogFormat(LogType, LogOption, Object, String, Object[]) Unity.Build.BuildPipelineResult:LogResult() (at Library/PackageCache/com.unity.build@0.1.0-preview.1/Editor/Unity.Build/BuildPipelineResult.cs:126) Unity.Build.<>c:<.cctor>b__43_1(BuildSettings) (at Library/PackageCache/com.unity.build@0.1.0-preview.1/Editor/Unity.Build/BuildSettingsScriptedImporterEditor.cs:51) Unity.Build.<>c__DisplayClass34_0:<RefreshHeader>b__1() (at Library/PackageCache/com.unity.build@0.1.0-preview.1/Editor/Unity.Build/BuildSettingsScriptedImporterEditor.cs:229) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at /home/builduser/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:187)
I've installed liblz4 from several different sources, so it should be there.
Apart from this is also get 3 of this error:
A Native Collection has not been disposed, resulting in a memory leak. Enable Full StackTraces to get more details.
I tried building on Windows 10, that went fine.
Br
It was the liblz4 which weren't installed, I fixed that now.
Hello, I'm trying to build and run Tiny3D to Wasm using Ubuntu 18.04, Unity version 2019.3.2f1, but can't. This is full stacktrace:
I've installed liblz4 from several different sources, so it should be there.
Apart from this is also get 3 of this error:
I tried building on Windows 10, that went fine.
Br