LoginId:5dedc10843bb9377ec17aa9f232e478d EpicAccountId:665b1371e2f84c338c7e472e68faf574 Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000008 UnrealEditor_SearchWeather!UShowInformationWidget::AddNewInfo() [D:\Project\UE_Project\SearchWeather\Source\SearchWeather\Private\ShowInformationWidget.cpp:105] UnrealEditor_SearchWeather!UShowInformationWidget::GetCreateSignal() [D:\Project\UE_Project\SearchWeather\Source\SearchWeather\Private\ShowInformationWidget.cpp:91] UnrealEditor_SearchWeather!TBaseUObjectMethodDelegateInstance<0,UShowInformationWidget,void __cdecl(bool,FString),FDefaultDelegateUserPolicy>::Execute() [D:\Epic Games\UE_5.2\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:534] UnrealEditor_SearchWeather!UAddInforWidget::DetermineCreate() [D:\Project\UE_Project\SearchWeather\Source\SearchWeather\Private\AddInforWidget.cpp:30] 帮我解释一下这个报错
时间: 2023-10-03 20:02:36 浏览: 815
这是一条 Unreal Engine 引擎的崩溃日志,其中的 EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000008 表示在程序执行时读取了一个无效的内存地址,导致崩溃。具体来说,该崩溃发生在 UnrealEditor_SearchWeather!UShowInformationWidget::AddNewInfo() 函数的第 105 行,该函数可能试图访问一个无效的指针或对象。可以通过检查代码,查找可能导致该崩溃的原因,例如:未初始化的指针、空指针、越界访问等等。另外,该崩溃还涉及到 UnrealEditor_SearchWeather!UShowInformationWidget::GetCreateSignal() 和 UnrealEditor_SearchWeather!UAddInforWidget::DetermineCreate() 函数。
相关问题
LoginId:574fd99c41463f0f50343b8bc9070aee EpicAccountId:175b1ac0d45447ffa7beb3fb02976def Assertion failed: InOuter || (InClass == UPackage::StaticClass() && InName != NAME_None) [File:D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp] [Line: 2437] UnrealEditor_CoreUObject UnrealEditor_CoreUObject UnrealEditor_ObjectDeliverer!UProtocolTcpIpServer::OnListen() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\ObjectDeliverer\Source\ObjectDeliverer\Private\Protocol\ProtocolTcpIpServer.cpp:110] UnrealEditor_ObjectDeliverer!FODWorkerThread::Run() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\ObjectDeliverer\Source\ObjectDeliverer\Private\Utils\ODWorkerThread.cpp:32] UnrealEditor_Core UnrealEditor_Core kernel32
根据给出的错误信息,这是在UE4中的UObjectGlobals.cpp文件的2437行触发的断言错误。断言错误表示在程序运行时发生了不符合预期的情况。
根据堆栈跟踪信息,这个断言错误似乎与一个名为ObjectDeliverer的插件有关。具体地说,在ProtocolTcpIpServer.cpp文件的第110行和ODWorkerThread.cpp文件的第32行触发了这个断言错误。
要解决这个问题,你可以检查ObjectDeliverer插件的相关代码,特别是在ProtocolTcpIpServer.cpp和ODWorkerThread.cpp文件中的代码。确保在这些代码中没有出现Outer属性为空或者Class属性是UPackage::StaticClass()并且Name属性不是NAME_None的情况。
此外,你还可以尝试更新或重新编译ObjectDeliverer插件,以确保你使用的版本与当前的UE4引擎版本兼容。
如果问题仍然存在,建议你联系ObjectDeliverer插件的开发者或UE4社区寻求进一步的帮助和支持。
以下代码:private void GameOver_Load(object sender, EventArgs e) { string ID = FormLogin.txtUser.Text.Trim(); string sql1 = $"select maxScore from Userifo where LoginID='{ID}' "; }无法访问txtUser动态控件中的数据
根据您提供的代码,我猜测您的 `txtUser` 控件是在 `FormLogin` 窗体中定义的。如果是这样,您需要确保在 `GameOver` 窗体中正确访问 `FormLogin` 窗体中的 `txtUser` 控件。
您可以使用以下代码在 `GameOver` 窗体中访问 `FormLogin` 窗体中的 `txtUser` 控件:
```csharp
string ID = ((FormLogin)this.Owner).txtUser.Text.Trim();
```
其中,`this.Owner` 表示当前窗体的所有者,也就是打开当前窗体的窗体。我们将其转换为 `FormLogin` 类型,然后访问其 `txtUser` 控件中的文本值。请注意,如果当前窗体不是由 `FormLogin` 窗体打开的,则上述代码将引发异常。在使用之前,您需要确保当前窗体是由 `FormLogin` 窗体打开的。
另外,还需要确保在 `FormLogin` 窗体中将 `txtUser` 控件的 `Modifiers` 属性设置为 `public`,以便在其他窗体中访问该控件。
相关推荐
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)