Git Product home page Git Product logo

Comments (3)

IcePower avatar IcePower commented on September 17, 2024 1

这个是HybridCLR的错误。解决方法:

  1. 第一次打包完之后,点击 HybridCLR - CopyAOTDlls。
  2. 然后在 YooAsset 里构建资源。
  3. 然后第二次打包,应该就没这个错了。

from x-et7.

510463496 avatar 510463496 commented on September 17, 2024

打开exe只有背景颜色,应该是读取不到资源,哥是我漏了什么操作了吗
image

from x-et7.

510463496 avatar 510463496 commented on September 17, 2024

是的,我按照您发的步骤打包之后,前面那个报错没了,不过有了个新的飘红,看起来是配置没有打进来.我查查看
image
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

from x-et7.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.