inkle / inkle/ink

Build crashes on build machine (-nographics option)

Open
#544 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
4.9k
Forks
540
PR merge metrics
No merged PRs in 30d

Description

We've been getting crashes on our build machine recently when building our game:
```
build 19-Aug-2019 12:41:04 Updating ProjectSettings/ProjectSettings.asset - GUID: 00000000000000004000000000000000...
build 19-Aug-2019 12:41:04 done. [Time: 16.341331 ms]
build 19-Aug-2019 12:41:04 Unloading 555 Unused Serialized files (Serialized files now loaded: 0)
build 19-Aug-2019 12:41:04 System memory in use before: 220.9 MB.
build 19-Aug-2019 12:41:04 System memory in use after: 221.4 MB.
build 19-Aug-2019 12:41:04
build 19-Aug-2019 12:41:04 Unloading 368 unused Assets to reduce memory usage. Loaded Objects now: 5843.
build 19-Aug-2019 12:41:04 Total: 37.013162 ms (FindLiveObjects: 0.627431 ms CreateObjectMapping: 0.354894 ms MarkObjects: 35.904490 ms DeleteObjects: 0.125023 ms)
build 19-Aug-2019 12:41:04
build 19-Aug-2019 12:41:04 Refreshing native plugins compatible for Editor in 48.02 ms, found 16 plugins.
build 19-Aug-2019 12:41:04 Preloading 0 native plugins for Editor in 0.00 ms.
build 19-Aug-2019 12:41:04 Ink Library was rebuilt.
build 19-Aug-2019 12:41:04 Crash!!!
```
This seems to happen when we have the InkCompiler included in the project. When we remove the InkCompiler the problem disappears. We're using Unity 2019.1.8f1 with Ink 0.9.1

Let me know if I can share more logs or the crash dump to help resolve this. We don't want to remove the InkCopiler from the project just yet since it's useful for auto compiling.
This is the stack trace:
```
build 19-Aug-2019 12:41:04 ========== OUTPUTTING STACK TRACE ==================
build 19-Aug-2019 12:41:04
build 19-Aug-2019 12:41:06 0x00007FF725E1A757 (Unity) SortByExecutionOrder
build 19-Aug-2019 12:41:06 0x00007FF725E02497 (Unity) std::_Insertion_sort_unchecked
build 19-Aug-2019 12:41:06 0x00007FF725E02F80 (Unity) std::stable_sort
build 19-Aug-2019 12:41:06 0x00007FF725E0B5A6 (Unity) MonoManager::EndReloadAssembly
build 19-Aug-2019 12:41:06 0x00007FF725E16882 (Unity) MonoManager::ReloadAssembly
build 19-Aug-2019 12:41:06 0x00007FF72410A2A6 (Unity) ReloadAllUsedAssemblies
build 19-Aug-2019 12:41:06 0x00007FF724104516 (Unity) HandleCompileStatus
build 19-Aug-2019 12:41:06 0x00007FF7240FFF5A (Unity) CompileScriptsWait
build 19-Aug-2019 12:41:06 0x00007FF7240FF7BA (Unity) CompileDirtyScriptsForEditorSyncInternal
build 19-Aug-2019 12:41:06 0x00007FF7240FF63B (Unity) CompileDirtyScriptsForEditorSync
build 19-Aug-2019 12:41:06 0x00007FF7240FFBF1 (Unity) CompileScriptsForEditorSync
build 19-Aug-2019 12:41:06 0x00007FF724107F41 (Unity) LoadMonoAssembliesAndRecompileIfNecessary
build 19-Aug-2019 12:41:06 0x00007FF7246619A8 (Unity) Application::InitializeProject
build 19-Aug-2019 12:41:06 0x00007FF7249358FA (Unity) WinMain
build 19-Aug-2019 12:41:06 0x00007FF727278B5E (Unity) __scrt_common_main_seh
build 19-Aug-2019 12:41:06 0x00007FFDCC854034 (KERNEL32) BaseThreadInitThunk
build 19-Aug-2019 12:41:06 0x00007FFDCCC83691 (ntdll) RtlUserThreadStart
build 19-Aug-2019 12:41:06
build 19-Aug-2019 12:41:06 ========== END OF STACKTRACE ===========
build 19-Aug-2019 12:41:06
```

One thing that might be responsible, which I noticed just now when making a build locally, is a popup that prompts you to build outdated Ink files when making the build. Maybe this can have something to do with it (since we're using the -nographics -batchmode Unity switch on the build machine)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.