游标导致 Unity build [StandaloneWindows64] 在 GameCI Unity Docker 镜像上失败

问题描述 投票:0回答:0

你们中的任何人是否也遇到过构建在 Windows 上运行良好的问题,但在 Linux 上/在 Game CI(Unity Docker)中由于 defaultCursor 字段导致以下错误:

Caught fatal signal - signo:11 code:1 errno:0 addr:0x968
Obtained 20 stack frames.
#0  0x0056070c0ad89c in burst_signal_handler(int, siginfo_t*, void*)
#1  0x007f60353b8980 in funlockfile
#2  0x007f6038065fc4 in XAddExtension
#3  0x007f6037e379d1 in _XcursorGetDisplayInfo
#4  0x007f6037e37f29 in XcursorSupportsARGB
#5  0x007f6037e36724 in XcursorImageLoadCursor
#6  0x0056070de98968 in Cursors::GenerateCursor(Texture2D*, Vector2f, CursorMode)
#7  0x0056070de9860a in Cursors::InitializeCursors(Texture2D*, Vector2f)
#8  0x0056070de1669e in PlayerSettings::InitDefaultCursors()
#9  0x0056070de16e8b in PlayerSettings::AwakeFromLoad(AwakeFromLoadMode)
#10 0x0056070d051c8b in ManagerBackup::ResetUserEditableManagers()
#11 0x0056070e1d3337 in DoBuildPlayer(BuildPlayerSetup const&, std::vector<EditorSceneBackup, stl_allocator<EditorSceneBackup, (MemLabelIdentifier)124, 16> >&, core::basic_string<char, core::StringStorageDefault<char> >, dynamic_array<core::basic_string<char, core::StringStorageDefault<char> >, 0ul> const&, bool, BuildReporting::BuildReport&, BuildReporting::BuiltAssetBundleInfo*, core::basic_string<char, core::StringStorageDefault<char> > const&)
#12 0x0056070e1d9921 in BuildPlayer(BuildPlayerSetup const&, BuildReporting::BuildReport&)
#13 0x0056070bbb8f6f in BuildPipeline_CUSTOM_BuildPlayerInternalNoCheck(ScriptingBackendNativeArrayPtrOpaque*, ScriptingBackendNativeStringPtrOpaque*, ScriptingBackendNativeStringPtrOpaque*, BuildTargetPlatformGroup, BuildTargetPlatform, int, BuildPlayerOptions, ScriptingBackendNativeArrayPtrOpaque*, unsigned char)
#14 0x00000040ec9e2b in (wrapper managed-to-native) UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck (string[],string,string,UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,int,UnityEditor.BuildOptions,string[],bool)
#15 0x00000040ec8ed8 in UnityEditor.BuildPipeline:BuildPlayerInternal (string[],string,string,UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,int,UnityEditor.BuildOptions,string[])
#16 0x00000040ec895c in UnityEditor.BuildPipeline:BuildPlayer (string[],string,string,UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,int,UnityEditor.BuildOptions,string[])
#17 0x00000040ec87e8 in UnityEditor.BuildPipeline:BuildPlayer (UnityEditor.BuildPlayerOptions)
#18 0x00000040ec8790 in UnityEditor.BuildPipeline:BuildPlayer (string[],string,UnityEditor.BuildTarget,UnityEditor.BuildOptions)
#19 0x00000040ec5fd0 in BuildCommand:PerformBuild ()
Segmentation fault (core dumped)

我尝试使用 GameCI 的 Unity docker 镜像自动构建我的 Unity 项目。由于提供的 defaultIcon,构建在最后一个构建步骤中失败。即使使用导入设置“光标”将图标更改为另一个图标也没有解决它。

unity3d
© www.soinside.com 2019 - 2024. All rights reserved.