Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

发布安卓后打开没有UIwidgets 模块 #326

Open
qq294716498 opened this issue May 23, 2022 · 5 comments
Open

发布安卓后打开没有UIwidgets 模块 #326

qq294716498 opened this issue May 23, 2022 · 5 comments

Comments

@qq294716498
Copy link

把demo发布出来,华为mate8运行 只有skybox

@qq294716498
Copy link
Author

  • 编译器里正常 发布windows 正常 windows
  • 发布安卓就成这样了 Android

@zhuxingwei
Copy link
Contributor

Hi Thanks a lot for the feedback !

This problem is very probably caused by using invalid graphics backend on the Android device. For now the latest UIWidgets 2.0 only supports OpenGLES on Android devices. If you happen to select Vulkan as the default graphics backend in your Unity project, the results is exactly that you meet with.

To solve this issue, please change the default graphics backend of your Unity project to OpenGLES and retry.

@qq294716498
Copy link
Author

thks 感谢! 成功了!

@qq294716498
Copy link
Author

Hi Thanks a lot for the feedback !

This problem is very probably caused by using invalid graphics backend on the Android device. For now the latest UIWidgets 2.0 only supports OpenGLES on Android devices. If you happen to select Vulkan as the default graphics backend in your Unity project, the results is exactly that you meet with.

To solve this issue, please change the default graphics backend of your Unity project to OpenGLES and retry.

在UIwidgets里可否有event_bus 2.0.0?

@zhuxingwei
Copy link
Contributor

Hi Thanks for the feedback and sorry for the late response !

If you refer to the event_bus 2.0.0 @https://github.com/marcojakob/dart-event-bus, no we currently don't have an C# implementation of it yet.

But since we have implemented stream APIs already in UIWidgets, it should be relatively an easy job to translate the dart codes of event_bus into C#. Maybe you can give it a try?

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

No branches or pull requests

2 participants