We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
场景里有一个base主相机,动态实例化一个overlay相机例如UI相机,通过Unity Api,动态添加到主相机的camerastack列表里。 UniversalAdditionalCameraData data = this.cam.GetUniversalAdditionalCameraData(); data.cameraStack.Add(uiCamera); 在Editor中是正常的,在小游戏运行时就会黑屏,且没有报错。
Windows11/Unity2022.3.14f/minigame.202404262000/Assets导入/WebGL
The text was updated successfully, but these errors were encountered:
尝试下导出webgl版本在浏览器中是否正常
Sorry, something went wrong.
也不行,我试了下只要在BaseCamera下面挂一个overlay的camera并添加到camerastack里,就会黑屏。不用动态添加也会。
如果webgl版本在浏览器中也无法使用,这需要联系Unity相关人员解决。微信小游戏本质是基于webgl版本浏览器环境中运行。
我刚刚进行了一系列测试。
2021.3.33版本的Unity是正常的。
No branches or pull requests
描述Bug
场景里有一个base主相机,动态实例化一个overlay相机例如UI相机,通过Unity Api,动态添加到主相机的camerastack列表里。
UniversalAdditionalCameraData data = this.cam.GetUniversalAdditionalCameraData();
data.cameraStack.Add(uiCamera);
在Editor中是正常的,在小游戏运行时就会黑屏,且没有报错。
运行环境
The text was updated successfully, but these errors were encountered: