shiniu0606 / ChromiumUI

ue4 webbrowser plugin with cef3 version chromium-84.0.4147.38
MIT License
29 stars 15 forks source link

抱歉又打扰您,我已经使用起来了,DEBUG没有问题,但是打包后打开报错 #6

Closed xs818818 closed 2 years ago

xs818818 commented 2 years ago

我尝试过只将ChromiumUI单独放入Plugins里,运行最基础例子(没使用ChromiumUI),应该没有插件冲突,但是打包后依然不能打开

shiniu0606 commented 2 years ago

如果是指测试相关的html没有显示,可能是打包的时候,相关的html,js文件没有拷贝到build的Content目录。因为这些不属于uaseet资源,打包时不会自动打包到pak,需要修改打包配置,或者手动拷贝到Build的Content目录

shiniu0606 commented 2 years ago

建议使用远程URL加载网页打包测试,本地文件需要对ue打包规则比较熟悉。

xs818818 commented 2 years ago

我尝试的是新建了工程,只是把插件复制进去,并未使用,运行的也是官方初始化时的例子,但是依然打不开,个人感觉应该不是url的问题

shiniu0606 commented 2 years ago

有报错信息没

xs818818 commented 2 years ago

LoginId:63b387d24218b872eee9daa77c106d1d EpicAccountId:ece5d4dea0434ec9ae548a33538b8f68

Unhandled Exception: 0xc06d007e

KERNELBASE web web web web web web web web web web web web web web kernel32 ntdll

xs818818 commented 2 years ago

[2022.03.03-02.23.34:128][ 0]LogWindows: Error: === Critical error: === [2022.03.03-02.23.34:128][ 0]LogWindows: Error: [2022.03.03-02.23.34:128][ 0]LogWindows: Error: Fatal error! [2022.03.03-02.23.34:128][ 0]LogWindows: Error: [2022.03.03-02.23.34:128][ 0]LogWindows: Error: Unhandled Exception: 0xc06d007e [2022.03.03-02.23.34:128][ 0]LogWindows: Error: [2022.03.03-02.23.34:128][ 0]LogWindows: Error: [Callstack] 0x00007ff9c30f4f69 KERNELBASE.dll!UnknownFunction [] [2022.03.03-02.23.34:128][ 0]LogWindows: Error: [Callstack] 0x00007ff73b678c1a web.exe!UnknownFunction [] [2022.03.03-02.23.34:128][ 0]LogWindows: Error: [Callstack] 0x00007ff73adfc8b2 web.exe!UnknownFunction [] [2022.03.03-02.23.34:128][ 0]LogWindows: Error: [Callstack] 0x00007ff735d1ebe2 web.exe!UnknownFunction [] [2022.03.03-02.23.34:128][ 0]LogWindows: Error: [Callstack] 0x00007ff735d1efd2 web.exe!UnknownFunction [] [2022.03.03-02.23.34:128][ 0]LogWindows: Error: [Callstack] 0x00007ff7370e2fd9 web.exe!UnknownFunction [] [2022.03.03-02.23.34:128][ 0]LogWindows: Error: [Callstack] 0x00007ff7370b3c67 web.exe!UnknownFunction [] [2022.03.03-02.23.34:128][ 0]LogWindows: Error: [Callstack] 0x00007ff738ad611d web.exe!UnknownFunction [] [2022.03.03-02.23.34:128][ 0]LogWindows: Error: [Callstack] 0x00007ff738aeda01 web.exe!UnknownFunction [] [2022.03.03-02.23.34:128][ 0]LogWindows: Error: [Callstack] 0x00007ff734da2c97 web.exe!UnknownFunction [] [2022.03.03-02.23.34:128][ 0]LogWindows: Error: [Callstack] 0x00007ff734d95f26 web.exe!UnknownFunction [] [2022.03.03-02.23.34:128][ 0]LogWindows: Error: [Callstack] 0x00007ff734d962ca web.exe!UnknownFunction [] [2022.03.03-02.23.34:128][ 0]LogWindows: Error: [Callstack] 0x00007ff734d986cc web.exe!UnknownFunction [] [2022.03.03-02.23.34:128][ 0]LogWindows: Error: [Callstack] 0x00007ff734da9f14 web.exe!UnknownFunction [] [2022.03.03-02.23.34:128][ 0]LogWindows: Error: [Callstack] 0x00007ff73b67f54e web.exe!UnknownFunction [] [2022.03.03-02.23.34:128][ 0]LogWindows: Error: [Callstack] 0x00007ff9c3a17034 KERNEL32.DLL!UnknownFunction [] [2022.03.03-02.23.34:128][ 0]LogWindows: Error: [Callstack] 0x00007ff9c5a02651 ntdll.dll!UnknownFunction [] [2022.03.03-02.23.34:128][ 0]LogWindows: Error: [2022.03.03-02.23.34:133][ 0]LogExit: Executing StaticShutdownAfterError [2022.03.03-02.23.34:134][ 0]LogWindows: FPlatformMisc::RequestExit(1) [2022.03.03-02.23.34:134][ 0]LogWindows: FPlatformMisc::RequestExitWithStatus(1, 3) [2022.03.03-02.23.34:134][ 0]LogCore: Engine exit requested (reason: Win RequestExit) [2022.03.03-02.23.34:143][ 0]Log file closed, 03/03/22 10:23:34

shiniu0606 commented 2 years ago

SteamVR 把这个引擎默认开启的插件禁用掉再打包,应该就可以了。我后面看一下处理和这个插件的冲突

xs818818 commented 2 years ago

谢谢