大佬,就是我想测试一下这个项目的打包,没打包成功.
Closed this issue · 3 comments
这个是HybridCLR的错误。解决方法:
- 第一次打包完之后,点击 HybridCLR - CopyAOTDlls。
- 然后在 YooAsset 里构建资源。
- 然后第二次打包,应该就没这个错了。
是的,我按照您发的步骤打包之后,前面那个报错没了,不过有了个新的飘红,看起来是配置没有打进来.我查查看
System.NullReferenceException: Object reference not set to an instance of an object.
at ET.Client.GetAllConfigBytes.Handle (ET.ConfigComponent+GetAllConfigBytes args) [0x00000] in <00000000000000000000000000000000>:0
at ET.Entry.StartAsync () [0x00000] in <00000000000000000000000000000000>:0
at ET.Entry.StartAsync () [0x00000] in <00000000000000000000000000000000>:0
at ET.Entry.Start () [0x00000] in <00000000000000000000000000000000>:0
at ET.EventSystem.Invoke[A,T] (System.Int32 type, A args) [0x00000] in <00000000000000000000000000000000>:0
at ET.ConfigComponent.LoadAsync () [0x00000] in <00000000000000000000000000000000>:0
at ET.ConfigComponent.LoadAsync () [0x00000] in <00000000000000000000000000000000>:0
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <00000000000000000000000000000000>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <00000000000000000000000000000000>:0
at ET.Init+d__0.MoveNext () [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00000] in <00000000000000000000000000000000>:0
--- End of stack trace from previous location where exception was thrown ---
at ET.Entry.StartAsync () [0x00000] in <00000000000000000000000000000000>:0
at ET.Entry.StartAsync () [0x00000] in <00000000000000000000000000000000>:0
at ET.Entry.Start () [0x00000] in <00000000000000000000000000000000>:0
at ET.ETTask.GetResult () [0x00000] in <00000000000000000000000000000000>:0
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <00000000000000000000000000000000>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <00000000000000000000000000000000>:0
at ET.Init+d__0.MoveNext () [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00000] in <00000000000000000000000000000000>:0
--- End of stack trace from previous location where exception was thrown ---
at ET.Entry.Start () [0x00000] in <00000000000000000000000000000000>:0
at ET.ETTask.GetResult () [0x00000] in <00000000000000000000000000000000>:0
at ET.ETTask.InnerCoroutine () [0x00000] in <00000000000000000000000000000000>:0
at ET.ETTask.Coroutine () [0x00000] in <00000000000000000000000000000000>:0
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <00000000000000000000000000000000>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <00000000000000000000000000000000>:0
at ET.Init+d__0.MoveNext () [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00000] in <00000000000000000000000000000000>:0