supportstextureformatnative is not allowed to be called from a monobehaviour constructor

我调用我的 TextureKit 的LoadTexture2DToList方法时候放在unity 生命周期函数可以例如Start()或者是Awake()运行正常,如果是自己搞的其他东西里例如 OnOpen()调用LoadTexture2DToList方法便会报上述错误

如图所示:

一天一个小Bug supportstextureformatnative is not allowed to be called from a monobehaviour constructor

一天一个小Bug supportstextureformatnative is not allowed to be called from a monobehaviour constructor

相关文章:

  • 2022-12-23
  • 2021-04-26
  • 2021-10-09
  • 2021-10-13
  • 2021-09-04
  • 2021-05-24
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-15
  • 2022-12-23
  • 2021-12-11
相关资源
相似解决方案