无法加载模块中的类 [英] The classes in the module cannot be loaded

查看:92
本文介绍了无法加载模块中的类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发2D Unity android游戏,最近我在其中添加了Firebase Beta SDK,但是在添加FirebaseAnalytics.unitypackage之后,我遇到的错误是:

I am developing a 2D Unity android game in which i recently added Firebase Beta SDK, but after adding FirebaseAnalytics.unitypackage i am facing the error which is :

模块中的类无法加载.

The classes in the module cannot be loaded.

当我从项目中删除文件夹Firebase时,错误不再出现.可能是什么问题? 谢谢.

When i remove the folder Firebase from project the error no more appears. What can be the problem? Thank you.

推荐答案

使用Unity 5.3.5时,我观察到类似的错误消息. 使用Unity 5.4.0+为我解决了这个问题.

I have observed similar error message when using Unity 5.3.5. Using Unity 5.4.0+ resolved this issue for me.

SpritePacker failed to get types from Firebase.App, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null. Error: The classes in the module cannot be loaded.

Error building Player: ReflectionTypeLoadException: The classes in the module cannot be loaded.

这与Firebase的1.1.0版本有关. 它可以在1.0.1版本上正常工作.

This is regarding 1.1.0 version of Firebase. It was working on 1.0.1 version correctly.

这篇关于无法加载模块中的类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆