Skip to content
New issue

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

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

Already on GitHub? # to your account

unity runtime build issue #231

Open
maguslin opened this issue Apr 5, 2021 · 2 comments
Open

unity runtime build issue #231

maguslin opened this issue Apr 5, 2021 · 2 comments

Comments

@maguslin
Copy link

maguslin commented Apr 5, 2021

在unity打包的时候,出现了meshrenderer doesnot contain 'recieveGI',这是由于meshrender里面的三个新函数, //
// 摘要:
// Specifies the relative lightmap resolution of this object. (Editor only)
public float scaleInLightmap { get; set; }
//
// 摘要:
// Determines how the object will receive global illumination. (Editor only)
public ReceiveGI receiveGI { get; set; }
//
// 摘要:
// When enabled, seams in baked lightmaps will get smoothed. (Editor only)
public bool stitchLightmapSeams { get; set; }
是editor only ,一旦导出lua,然后build apk,就会报错。建议像xlua一样,加入黑名单机制,我在ToLuaExport里加入了

@maguslin
Copy link
Author

maguslin commented Apr 5, 2021

请大佬看下,另外如果需要我可以将toluaexport给到您

@maguslin
Copy link
Author

maguslin commented Apr 5, 2021

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

No branches or pull requests

1 participant