AgoraIO-Extensions / Agora-Unreal-RTC-SDK

MIT License
37 stars 14 forks source link

Lots of errors loading (no impact on performance) #95

Open HereafterMills opened 7 months ago

HereafterMills commented 7 months ago

Hi @WinterPu

On starting a project in 5.2, getting these errors:

[2023.10.15-10.01.21:112][ 0]LogWindows: Failed to load 'A:/5.2Port/Agora-Unreal-SDK-Blueprint-Example/Plugins/AgoraPlugin/Source/ThirdParty/AgoraPluginLibrary/x64/Release/agora_rtc_sdk.dll' (GetLastError=126) [2023.10.15-10.01.21:112][ 0]LogWindows: File 'A:/5.2Port/Agora-Unreal-SDK-Blueprint-Example/Plugins/AgoraPlugin/Source/ThirdParty/AgoraPluginLibrary/x64/Release/agora_rtc_sdk.dll' does not exist [2023.10.15-10.01.21:534][ 0]LogClass: Error: Int64Property FRtcConnection::localUid is not initialized properly. Module:AgoraPlugin File:Public/AgoraBluePrintPlugin/URtcEngineProxyCompatibility.h [2023.10.15-10.01.21:534][ 0]LogClass: Error: Int64Property FAudioVolumeInfo::uid is not initialized properly. Module:AgoraPlugin File:Public/AgoraBluePrintPlugin/URtcEngineProxyCompatibility.h [2023.10.15-10.01.21:534][ 0]LogClass: Error: Int64Property FAudioVolumeInfo::volume is not initialized properly. Module:AgoraPlugin File:Public/AgoraBluePrintPlugin/URtcEngineProxyCompatibility.h [2023.10.15-10.01.21:534][ 0]LogClass: Error: Int64Property FAudioVolumeInfo::vad is not initialized properly. Module:AgoraPlugin File:Public/AgoraBluePrintPlugin/URtcEngineProxyCompatibility.h [2023.10.15-10.01.21:534][ 0]LogClass: Error: FloatProperty FAudioVolumeInfo::voicePitch is not initialized properly. Module:AgoraPlugin File:Public/AgoraBluePrintPlugin/URtcEngineProxyCompatibility.h [2023.10.15-10.01.21:534][ 0]LogClass: Error: EnumProperty FVideoFrame::type is not initialized properly. Module:AgoraPlugin File:Public/AgoraBluePrintPlugin/IFrameObserver.h [2023.10.15-10.01.21:534][ 0]LogClass: Error: IntProperty FVideoFrame::width is not initialized properly. Module:AgoraPlugin File:Public/AgoraBluePrintPlugin/IFrameObserver.h [2023.10.15-10.01.21:534][ 0]LogClass: Error: IntProperty FVideoFrame::height is not initialized properly. Module:AgoraPlugin File:Public/AgoraBluePrintPlugin/IFrameObserver.h [2023.10.15-10.01.21:534][ 0]LogClass: Error: IntProperty FVideoFrame::yStride is not initialized properly. Module:AgoraPlugin File:Public/AgoraBluePrintPlugin/IFrameObserver.h [2023.10.15-10.01.21:534][ 0]LogClass: Error: IntProperty FVideoFrame::uStride is not initialized properly. Module:AgoraPlugin File:Public/AgoraBluePrintPlugin/IFrameObserver.h [2023.10.15-10.01.21:534][ 0]LogClass: Error: IntProperty FVideoFrame::vStride is not initialized properly. Module:AgoraPlugin File:Public/AgoraBluePrintPlugin/IFrameObserver.h [2023.10.15-10.01.21:534][ 0]LogClass: Error: IntProperty FVideoFrame::rotation is not initialized properly. Module:AgoraPlugin File:Public/AgoraBluePrintPlugin/IFrameObserver.h [2023.10.15-10.01.21:534][ 0]LogClass: Error: Int64Property FVideoFrame::renderTimeMs is not initialized properly. Module:AgoraPlugin File:Public/AgoraBluePrintPlugin/IFrameObserver.h [2023.10.15-10.01.21:534][ 0]LogClass: Error: IntProperty FVideoFrame::avsync_type is not initialized properly. Module:AgoraPlugin File:Public/AgoraBluePrintPlugin/IFrameObserver.h [2023.10.15-10.01.21:534][ 0]LogClass: Error: IntProperty FVideoFrame::metadata_size is not initialized properly. Module:AgoraPlugin File:Public/AgoraBluePrintPlugin/IFrameObserver.h [2023.10.15-10.01.21:534][ 0]LogClass: Error: Int64Property FVideoFrame::sharedContext is not initialized properly. Module:AgoraPlugin File:Public/AgoraBluePrintPlugin/IFrameObserver.h [2023.10.15-10.01.21:534][ 0]LogClass: Error: IntProperty FVideoFrame::textureId is not initialized properly. Module:AgoraPlugin File:Public/AgoraBluePrintPlugin/IFrameObserver.h [2023.10.15-10.01.21:534][ 0]LogClass: Error: IntProperty FDirectCdnStreamingStats::videoWidth is not initialized properly. Module:AgoraPlugin File:Public/AgoraBluePrintPlugin/URtcEngineProxyCompatibility.h [2023.10.15-10.01.21:534][ 0]LogClass: Error: IntProperty FDirectCdnStreamingStats::videoHeight is not initialized properly. Module:AgoraPlugin File:Public/AgoraBluePrintPlugin/URtcEngineProxyCompatibility.h [2023.10.15-10.01.21:534][ 0]LogClass: Error: IntProperty FDirectCdnStreamingStats::fps is not initialized properly. Module:AgoraPlugin File:Public/AgoraBluePrintPlugin/URtcEngineProxyCompatibility.h [2023.10.15-10.01.21:534][ 0]LogClass: Error: IntProperty FDirectCdnStreamingStats::videoBitrate is not initialized properly. Module:AgoraPlugin File:Public/AgoraBluePrintPlugin/URtcEngineProxyCompatibility.h [2023.10.15-10.01.21:534][ 0]LogClass: Error: IntProperty FDirectCdnStreamingStats::audioBitrate is not initialized properly. Module:AgoraPlugin File:Public/AgoraBluePrintPlugin/URtcEngineProxyCompatibility.h [2023.10.15-10.01.21:534][ 0]LogClass: Error: IntProperty FPeerDownlinkInfo::expected_bitrate_bps is not initialized properly. Module:AgoraPlugin File:Public/AgoraBluePrintPlugin/URtcEngineProxyCompatibility.h [2023.10.15-10.01.21:534][ 0]LogClass: Error: IntProperty FRectangle::x is not initialized properly. Module:AgoraPlugin File:Public/AgoraBluePrintPlugin/URtcEngineProxyCompatibility.h [2023.10.15-10.01.21:534][ 0]LogClass: Error: IntProperty FRectangle::y is not initialized properly. Module:AgoraPlugin File:Public/AgoraBluePrintPlugin/URtcEngineProxyCompatibility.h [2023.10.15-10.01.21:534][ 0]LogClass: Error: IntProperty FRectangle::width is not initialized properly. Module:AgoraPlugin File:Public/AgoraBluePrintPlugin/URtcEngineProxyCompatibility.h [2023.10.15-10.01.21:534][ 0]LogClass: Error: IntProperty FRectangle::height is not initialized properly. Module:AgoraPlugin File:Public/AgoraBluePrintPlugin/URtcEngineProxyCompatibility.h

Apart from the initialization errors, it seems that the path for agora_rtc_sdk.dll is incorrect. Just FYI

HereafterMills commented 7 months ago

Log.log

The other strange thing is that whenever i preview in the editor for a particular project, it crashes in the strangest of ways. As though a separate thread has crashed, leaving Unreal Editor working fine for a minute or so and then abruptly close. No crash logs, no nothing.

WinterPu commented 7 months ago

Please check the folder path of your plugin: AgoraPlugin/Source/ThirdParty/AgoraPluginLibrary/x64/Release/agora_rtc_sdk.dll. It should have a platform name after AgoraPluginLibrary, or make sure that you have changed the correct path in the build.cs file.

WinterPu commented 7 months ago

For the next problem, you could use the branch dev/4.2.1 to avoid the shader related error: https://github.com/AgoraIO-Extensions/Agora-Unreal-RTC-SDK/tree/dev/4.2.1 That shader only supports 4.27.