jarjin / LuaFramework_UGUI

请移步新版地址https://github.com/jarjin/LuaFramework_UGUI_V2 支持安卓ARM64【已停止更新】

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unity 2018 build Windows Resource Error

franklzt opened this issue · comments

  1. Assets/LuaFramework/ToLua/Source/Generate/UnityEngine_InputWrap.cs(259,31): error CS0117: UnityEngine.Input' does not contain a definition for IsJoystickPreconfigured'

  2. Assets/LuaFramework/ToLua/Source/Generate/UnityEngine_QualitySettingsWrap.cs(1077,32): error CS0200: Property or indexer `UnityEngine.QualitySettings.streamingMipmapsRenderersPerFrame' cannot be assigned to (it is read-only)

Error building Player because scripts had compiler errors

第一个错是因为这个函数是 Linux-only API,第二个不明白为什么会报错,
初次生成资源的时候,会有这两个错误。 手动把这两个函数去掉,之后 DEMO可以运行。
作者或许会有方法可以自动不生成这两个函数来解决这个问题。

QualitySettings 第二个把LUA导出的这个别导出就行了,新版本里不能用那个方法了。

怎么另外导出呢?

QualitySettings 第二个把LUA导出的这个别导出就行了,新版本里不能用那个方法了。

在哪里修改?thks

QualitySettings 第二个把LUA导出的这个别导出就行了,新版本里不能用那个方法了。

在哪里修改?thks

CustomSettings 文件中,把QualitySettings 那行注释掉