Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unity 2018 build Windows Resource Error #54

Open
franklzt opened this issue Sep 10, 2018 · 4 comments
Open

Unity 2018 build Windows Resource Error #54

franklzt opened this issue Sep 10, 2018 · 4 comments

Comments

@franklzt
Copy link

  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可以运行。
作者或许会有方法可以自动不生成这两个函数来解决这个问题。

@MENGJIANGTAO
Copy link

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

@ChenLinShan
Copy link

怎么另外导出呢?

@tooodooo
Copy link

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

在哪里修改?thks

@wentaoma
Copy link

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

在哪里修改?thks

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants