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

2019.1.9f1 导入最新版本的luaframework以后报错 #12

Open
kxiangtian opened this issue Aug 7, 2019 · 4 comments
Open

2019.1.9f1 导入最新版本的luaframework以后报错 #12

kxiangtian opened this issue Aug 7, 2019 · 4 comments

Comments

@kxiangtian
Copy link

Assets\LuaFramework\ToLua\Source\Generate\UnityEngine_LightWrap.cs(101,8): error CS1061: 'Light' does not contain a definition for 'SetLightDirty' and no accessible extension method 'SetLightDirty' accepting a first argument of type 'Light' could be found (are you missing a using directive or an assembly reference?)
Assets\LuaFramework\ToLua\Source\Generate\UnityEngine_QualitySettingsWrap.cs(1107,4): error CS0200: Property or indexer 'QualitySettings.streamingMipmapsRenderersPerFrame' cannot be assigned to -- it is read only
Error building Player because scripts had compiler errors

请问是因为2019.1.9f1不兼容么?

@MeniscusLight
Copy link
Contributor

目前最高版本时2019.1.2,2019.1.9应该是废弃了SetLightDirty接口吧

@kxiangtian
Copy link
Author

哦哦,晓得了。是因为我的版本太高了的问题啊。
还有一个就是关于AppConst.cs里面AppName和AssetDir参数如果修改了默认的名字的话,lua->Generate all 和build xx Resource 的时候,也会报错,找不到路径什么的,是不是因为有的地方没有引用这两个参数值啊?

@MeniscusLight
Copy link
Contributor

AppName默认是LuaFramework, 你改了当然找不到啦

@kxiangtian
Copy link
Author

哦。这里的appname和assetdir都是不能修改的啊。。。我以为可以改成自己的名字。0.0

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

2 participants