Support Forum

[ALine] [1.6.3] ingame demo scene is broken?

Hi,

I have just updated to version 1.6.3 and the “Styling” demo scene works in the editor, but when I try to build it it is not rendering. (it was working with the prev version or one version before… can’t remember. I have just created a clean build for this error)
Tried on both 2021 and 2020 LTS latest

****Error log
Mono path[0] = ‘C:/Programming/Unity/ALINE_Test/builds/ALINE_Test_Data/Managed’
Mono config path = ‘C:/Programming/Unity/ALINE_Test/builds/MonoBleedingEdge/etc’
Found 1 interfaces on host : 0) 192.168.1.8
Multi-casting “[IP] 192.168.1.8 [Port] 55402 [Flags] 2 [Guid] 1743600306 [EditorId] 533496818 [Version] 1048832 [Id] WindowsPlayer(2,DESKTOP-RJLLNA0) [Debug] 0 [PackageName] WindowsPlayer [ProjectName] ALINE_Test” to [225.0.0.222:54997]…
Initialize engine version: 2021.3.9f1 (ad3870b89536)
[Subsystems] Discovering subsystems at path C:/Programming/Unity/ALINE_Test/builds/ALINE_Test_Data/UnitySubsystems
GfxDevice: creating device client; threaded=1; jobified=1
Direct3D:
Version: Direct3D 11.0 [level 11.1]
Renderer: NVIDIA GeForce GTX 1060 6GB (ID=0x1c03)
Vendor: NVIDIA
VRAM: 6052 MB
Driver: 31.0.15.1694
Begin MonoManager ReloadAssembly

  • Completed reload, in 0.105 seconds
    Initializing input.
    XInput1_3.dll not found. Trying XInput9_1_0.dll instead…
    Input initialized.
    Initialized touch support.
    UnloadTime: 3.578500 ms
    NullReferenceException: Object reference not set to an instance of an object
    at Drawing.DrawingData.Render (UnityEngine.Camera cam, System.Boolean allowGizmos, UnityEngine.Rendering.CommandBuffer commandBuffer, System.Boolean allowCameraDefault) [0x001bb] in C:\Programming\Unity\ALINE_Test\Assets\ALINE\DrawingData.cs:1321
    at Drawing.DrawingManager.Submit (UnityEngine.Camera camera, UnityEngine.Rendering.CommandBuffer cmd, System.Boolean usingRenderPipeline, System.Boolean allowCameraDefault) [0x0002b] in C:\Programming\Unity\ALINE_Test\Assets\ALINE\DrawingManager.cs:600
    at Drawing.DrawingManager.SubmitFrame (UnityEngine.Camera camera, UnityEngine.Rendering.CommandBuffer cmd, System.Boolean usingRenderPipeline) [0x0002a] in C:\Programming\Unity\ALINE_Test\Assets\ALINE\DrawingManager.cs:416
    at Drawing.DrawingManager.PostRender (UnityEngine.Camera camera) [0x0000d] in C:\Programming\Unity\ALINE_Test\Assets\ALINE\DrawingManager.cs:372
    at UnityEngine.Camera.FireOnPostRender (UnityEngine.Camera cam) [0x0000d] in :0

(Filename: C:/Programming/Unity/ALINE_Test/Assets/ALINE/DrawingData.cs Line: 1321)

NullReferenceException: Object reference not set to an instance of an object
at Drawing.CommandBuilder.Reserve (System.Int32 additionalSpace) [0x00033] in C:\Programming\Unity\ALINE_Test\Assets\ALINE\CommandBuilder.cs:386
at Drawing.CommandBuilder.Reserve[A] () [0x00001] in C:\Programming\Unity\ALINE_Test\Assets\ALINE\CommandBuilder.cs:420
at Drawing.CommandBuilder.PushMatrix (UnityEngine.Matrix4x4 matrix) [0x00001] in C:\Programming\Unity\ALINE_Test\Assets\ALINE\CommandBuilder.cs:655
at Drawing.CommandBuilder.WithMatrix (UnityEngine.Matrix4x4 matrix) [0x00001] in C:\Programming\Unity\ALINE_Test\Assets\ALINE\CommandBuilder.cs:535
at Drawing.CommandBuilder.InScreenSpace (UnityEngine.Camera camera) [0x00001] in C:\Programming\Unity\ALINE_Test\Assets\ALINE\CommandBuilder.cs:647
at Drawing.Examples.AlineStyling.Update () [0x0000c] in C:\Programming\Unity\ALINE_Test\Assets\ALINE\ExampleScenes\Example4_Styling\AlineStyling.cs:19

(Filename: C:/Programming/Unity/ALINE_Test/Assets/ALINE/ExampleScenes/Example4_Styling/AlineStyling.cs Line: 19)

Exception: You cannot dispose an invalid command builder. Are you trying to dispose it twice?
at Drawing.CommandBuilder.DisposeInternal () [0x000b9] in C:\Programming\Unity\ALINE_Test\Assets\ALINE\CommandBuilder.cs:236
at Drawing.DrawingManager.CheckFrameTicking () [0x0004f] in C:\Programming\Unity\ALINE_Test\Assets\ALINE\DrawingManager.cs:384
at Drawing.DrawingManager.SubmitFrame (UnityEngine.Camera camera, UnityEngine.Rendering.CommandBuffer cmd, System.Boolean usingRenderPipeline) [0x00023] in C:\Programming\Unity\ALINE_Test\Assets\ALINE\DrawingManager.cs:414
at Drawing.DrawingManager.PostRender (UnityEngine.Camera camera) [0x0000d] in C:\Programming\Unity\ALINE_Test\Assets\ALINE\DrawingManager.cs:372
at UnityEngine.Camera.FireOnPostRender (UnityEngine.Camera cam) [0x0000d] in :0

(Filename: C:/Programming/Unity/ALINE_Test/Assets/ALINE/CommandBuilder.cs Line: 236)

and I also got this warning during build

Unable to find player assembly: C:\Programming\Unity\ALINE_Test\Temp\StagingArea\Data\Managed\UnityEngine.TestRunner.dll
UnityEngine.Debug:LogWarning (object)
Unity.Burst.Editor.BurstAotCompiler:OnPostBuildPlayerScriptDLLsImpl (UnityEditor.Build.Reporting.BuildReport) (at Library/PackageCache/com.unity.burst@1.7.2/Editor/BurstAotCompiler.cs:350)
Unity.Burst.Editor.BurstAotCompiler:OnPostBuildPlayerScriptDLLs (UnityEditor.Build.Reporting.BuildReport) (at Library/PackageCache/com.unity.burst@1.7.2/Editor/BurstAotCompiler.cs:208)
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler ()

Am I missing something here?

thanks in advance

mm

1 Like

Thanks! That was a serious bug.
I’ve fixed this and published a new version. It will hopefully be up in a few hours.

Thanks for the quick action.