Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2019.1.2f1版本打包报错 #23

Open
ffxiangyu opened this issue Nov 10, 2019 · 0 comments
Open

2019.1.2f1版本打包报错 #23

ffxiangyu opened this issue Nov 10, 2019 · 0 comments

Comments

@ffxiangyu
Copy link

ffxiangyu commented Nov 10, 2019

用了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.IEnumerable1[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)

@ffxiangyu ffxiangyu changed the title 2019.1.12f1打包报错 2019.1.2f1打包报错 Nov 13, 2019
@ffxiangyu ffxiangyu changed the title 2019.1.2f1打包报错 2019.1.2f1版本打包报错 Nov 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant