You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`CommandInvokationFailure: Failed to link 'libunity.so'.
C:/Program Files/Unity/Hub/Editor/2019.1.12f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe @"Temp/StagingArea/strip/armeabi-v7a/libunity.rsp"
stderr[
Temp/StagingArea/Il2Cpp/Managed/UnityICallRegistration.cpp:6383: error: undefined reference to 'Register_UnityEngine_ParticleSystem_SubEmittersModule_get_birth0_Injected()'
Temp/StagingArea/Il2Cpp/Managed/UnityICallRegistration.cpp:6387: error: undefined reference to 'Register_UnityEngine_ParticleSystem_SubEmittersModule_get_birth1_Injected()'
Temp/StagingArea/Il2Cpp/Managed/UnityICallRegistration.cpp:6391: error: undefined reference to 'Register_UnityEngine_ParticleSystem_SubEmittersModule_get_collision0_Injected()'
Temp/StagingArea/Il2Cpp/Managed/UnityICallRegistration.cpp:6395: error: undefined reference to 'Register_UnityEngine_ParticleSystem_SubEmittersModule_get_collision1_Injected()'
Temp/StagingArea/Il2Cpp/Managed/UnityICallRegistration.cpp:6399: error: undefined reference to 'Register_UnityEngine_ParticleSystem_SubEmittersModule_get_death0_Injected()'
Temp/StagingArea/Il2Cpp/Managed/UnityICallRegistration.cpp:6403: error: undefined reference to 'Register_UnityEngine_ParticleSystem_SubEmittersModule_get_death1_Injected()'
clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)
]
stdout[
用了2019.1.2f1版本,打包时报错:
`CommandInvokationFailure: Failed to link 'libunity.so'.
C:/Program Files/Unity/Hub/Editor/2019.1.12f1/Editor/Data/PlaybackEngines/AndroidPlayer/NDK/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe @"Temp/StagingArea/strip/armeabi-v7a/libunity.rsp"
stderr[
Temp/StagingArea/Il2Cpp/Managed/UnityICallRegistration.cpp:6383: error: undefined reference to 'Register_UnityEngine_ParticleSystem_SubEmittersModule_get_birth0_Injected()'
Temp/StagingArea/Il2Cpp/Managed/UnityICallRegistration.cpp:6387: error: undefined reference to 'Register_UnityEngine_ParticleSystem_SubEmittersModule_get_birth1_Injected()'
Temp/StagingArea/Il2Cpp/Managed/UnityICallRegistration.cpp:6391: error: undefined reference to 'Register_UnityEngine_ParticleSystem_SubEmittersModule_get_collision0_Injected()'
Temp/StagingArea/Il2Cpp/Managed/UnityICallRegistration.cpp:6395: error: undefined reference to 'Register_UnityEngine_ParticleSystem_SubEmittersModule_get_collision1_Injected()'
Temp/StagingArea/Il2Cpp/Managed/UnityICallRegistration.cpp:6399: error: undefined reference to 'Register_UnityEngine_ParticleSystem_SubEmittersModule_get_death0_Injected()'
Temp/StagingArea/Il2Cpp/Managed/UnityICallRegistration.cpp:6403: error: undefined reference to 'Register_UnityEngine_ParticleSystem_SubEmittersModule_get_death1_Injected()'
clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)
]
stdout[
]
exit code: 1
UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <1a10f9035b6b403994c99e5b653643c6>:0)
UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <1a10f9035b6b403994c99e5b653643c6>:0)
UnityEditor.Android.Command.Run (System.String command, System.String args, System.String workingdir, System.String errorMsg) (at <1a10f9035b6b403994c99e5b653643c6>:0)
UnityEditor.Android.PostProcessor.Tasks.BuildSharedLibrary.Link (UnityEditor.Android.PostProcessor.PostProcessorContext context, UnityEditor.Android.AndroidNDKTools ndk, UnityEditor.Android.AndroidTargetDeviceType deviceType, System.Collections.Generic.IEnumerable
1[T] objects) (at <1a10f9035b6b403994c99e5b653643c6>:0) UnityEditor.Android.PostProcessor.Tasks.BuildSharedLibrary.Build (UnityEditor.Android.PostProcessor.PostProcessorContext context, UnityEditor.Android.AndroidNDKTools ndk, UnityEditor.Android.AndroidTargetDeviceType deviceType) (at <1a10f9035b6b403994c99e5b653643c6>:0) UnityEditor.Android.PostProcessor.Tasks.BuildSharedLibrary.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <1a10f9035b6b403994c99e5b653643c6>:0) UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <1a10f9035b6b403994c99e5b653643c6>:0) Rethrow as BuildFailedException: Exception of type 'UnityEditor.Build.BuildFailedException' was thrown. UnityEditor.Android.PostProcessor.CancelPostProcess.AbortBuild (System.String title, System.String message, System.Exception ex) (at <1a10f9035b6b403994c99e5b653643c6>:0) UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <1a10f9035b6b403994c99e5b653643c6>:0) UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (UnityEditor.BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <1a10f9035b6b403994c99e5b653643c6>:0) UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <1a10f9035b6b403994c99e5b653643c6>:0) UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at D:/unity/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:281) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
The text was updated successfully, but these errors were encountered: