0
Fixed

2.0.0a6 An exception and warning after Windows desktop build

Ex-Crow 2 years ago updated by Lazlo Bonin (Lead Developer) 2 years ago 2

Not sure how relevant, the build was successful and the game runs as far as I can tell.

Warning:

[Warning] File 'link.xml' is read-only despite attempted checkout. Manually forcing to writable.
This may cause version control issues. Please report the following debug information:
File Exists: False
Provider.enabled: False
Provider.isActive: False
Provider.hasCheckoutSupport: False
VersionControlUtility.Unlock() Assets/Ludiq/Ludiq.Core/Editor/Utilities/VersionControlUtility.cs:48
46: sb.AppendLine($"Provider.isActive: {Provider.isActive}");
47: sb.AppendLine($"Provider.hasCheckoutSupport: {Provider.hasCheckoutSupport}");
-->48: Debug.LogWarning(sb.ToString());
50: info.IsReadOnly = false;

GenerationWorkflow.GenerateLinker() Assets/Ludiq/Bolt.Core/Editor/Generation/Generation.cs:162
160: PathUtility.CreateDirectoryIfNeeded(LudiqCore.Paths.transientGenerated);
-->162: VersionControlUtility.Unlock(path);
164: if (File.Exists(path))

Ludiq.Bolt.<>c__DisplayClass2_0.b__0() Assets/Ludiq/Bolt.Core/Editor/Generation/Generation.cs:75
74: var linkerPath = Path.Combine(LudiqCore.Paths.transientGenerated, "link.xml");
-->75: GenerateLinker(linkerPath);
77: generation.CompleteStep();

Task.Run() Assets/Ludiq/Ludiq.Core/Editor/Tasks/Task.cs:65
63: public void Run()
64: {
-->65: work(this);
66: }

ForegroundTaskRunner.Run() Assets/Ludiq/Ludiq.Core/Editor/Tasks/Runners/ForegroundTaskRunner.cs:25
23: try
24: {
-->25: task.Run();
26: }
27: catch (ThreadAbortException) { }

Task.Run() Assets/Ludiq/Ludiq.Core/Editor/Tasks/Task.cs:194
192: var task = new Task(runner, title, steps, work);
-->194: runner.Run(task);
195: }
196: }

GenerationWorkflow.Generate() Assets/Ludiq/Bolt.Core/Editor/Generation/Generation.cs:34
32: var project = new RootGeneration(GenerationMode.Real, "Ludiq.Bolt.Generated");
-->34: Task.Run
35: (
36: "Generating...", 4, generation =>

GenerationBuildProcessor.OnPreprocessBuild() Assets/Ludiq/Bolt.Core/Editor/Generation/GenerationBuildProcessor.cs:18
16: try
17: {
-->18: GenerationWorkflow.Generate(true);
19: }
20: finally

GUIUtility.ProcessEvent() C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179

Exception:

[Exception] FileNotFoundException: Could not find file 'C:\GameDev\Bolt2a6\Assets\Ludiq.Generated\Transient\link.xml'.
(wrapper remoting-invoke-with-check) System.IO.FileInfo.set_IsReadOnly(bool)
__Error.WinIOError() <567df3e0919241ba98db88bec4c6696f>:0

FileSystemInfo.set_Attributes() <567df3e0919241ba98db88bec4c6696f>:0

FileInfo.set_IsReadOnly() <567df3e0919241ba98db88bec4c6696f>:0

VersionControlUtility.Unlock() Assets/Ludiq/Ludiq.Core/Editor/Utilities/VersionControlUtility.cs:50
48: Debug.LogWarning(sb.ToString());
-->50: info.IsReadOnly = false;
51: }
52: }

GenerationWorkflow.GenerateLinker() Assets/Ludiq/Bolt.Core/Editor/Generation/Generation.cs:162
160: PathUtility.CreateDirectoryIfNeeded(LudiqCore.Paths.transientGenerated);
-->162: VersionControlUtility.Unlock(path);
164: if (File.Exists(path))

GenerationWorkflow+<>c__DisplayClass2_0.b__0() Assets/Ludiq/Bolt.Core/Editor/Generation/Generation.cs:75
74: var linkerPath = Path.Combine(LudiqCore.Paths.transientGenerated, "link.xml");
-->75: GenerateLinker(linkerPath);
77: generation.CompleteStep();

Task.Run() Assets/Ludiq/Ludiq.Core/Editor/Tasks/Task.cs:65
63: public void Run()
64: {
-->65: work(this);
66: }

ForegroundTaskRunner.Run() Assets/Ludiq/Ludiq.Core/Editor/Tasks/Runners/ForegroundTaskRunner.cs:25
23: try
24: {
-->25: task.Run();
26: }
27: catch (ThreadAbortException) { }

Task.Run() Assets/Ludiq/Ludiq.Core/Editor/Tasks/Task.cs:194
192: var task = new Task(runner, title, steps, work);
-->194: runner.Run(task);
195: }
196: }

GenerationWorkflow.Generate() Assets/Ludiq/Bolt.Core/Editor/Generation/Generation.cs:34
32: var project = new RootGeneration(GenerationMode.Real, "Ludiq.Bolt.Generated");
-->34: Task.Run
35: (
36: "Generating...", 4, generation =>

GenerationBuildProcessor.OnPreprocessBuild() Assets/Ludiq/Bolt.Core/Editor/Generation/GenerationBuildProcessor.cs:18
16: try
17: {
-->18: GenerationWorkflow.Generate(true);
19: }
20: finally

BuildPipelineInterfaces+c__AnonStorey0.<>m__1() C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildPipelineInterfaces.cs:376

BuildPipelineInterfaces.InvokeCallbackInterfacesPair[T1,T2]() C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildPipelineInterfaces.cs:356

GUIUtility.ProcessEvent() C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179

Bolt Version:
2.0.0a6
Unity Version:
2019.2.15
Platform(s):
PC
Scripting Backend:
Mono
.NET Version (API Compatibility Level):
.NET 4.x
Bolt 2
Fixed (Unreleased)

Hi TowerCrow,

Thanks for the report. This will be fixed in the next version.