Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Compiles against UE5.1 - #5

Draft
mikesol wants to merge 1 commit into
Arisego:masterfrom
mikesol:master
Draft

Compiles against UE5.1#5
mikesol wants to merge 1 commit into
Arisego:masterfrom
mikesol:master

Conversation

@mikesol

@mikesol mikesol commented Dec 20, 2022

Copy link
Copy Markdown

Hi @Arisego ! I modified some files in here to build against UE5.1, but it fails with this assertion when I start the example project:

LoginId:f3fbe32944775f014e0b2db334530c2d
EpicAccountId:27a646752eb24ed7b4224d13a87fdb21

Assertion failed: !ResolveRT || ResolveRT->IsMultisampled() [File:C:\Program Files\Epic Games\UE_5.1\Engine\Source\Runtime\RHI\Public\RHIResources.h] [Line: 3792]

UnrealEditor_UnrealLive2D_patch_2!FRHIRenderPassInfo::FRHIRenderPassInfo() [C:\Program Files\Epic Games\UE_5.1\Engine\Source\Runtime\RHI\Public\RHIResources.h:3792]
UnrealEditor_UnrealLive2D_patch_2!FModelRenders::RenderMask_Full() [C:\Users\mike\Documents\GitHub\Live2DTest\Plugins\UnrealLive2D\Source\UnrealLive2D\Private\Draw\ModelRenders_Mask.cpp:159]
UnrealEditor_UnrealLive2D!DrawSeparateToRenderTarget_RenderThread() [C:\Users\mike\Documents\GitHub\Live2DTest\Plugins\UnrealLive2D\Source\UnrealLive2D\Private\Draw\CubismSepRender.cpp:97]
UnrealEditor_UnrealLive2D!TEnqueueUniqueRenderCommandType<`FCubismSepRender::DrawSeparateToRenderTarget'::`2'::CaptureCommandName,<lambda_f1ef77cccae5a7da44d311c13a512d33> >::DoTask() [C:\Program Files\Epic Games\UE_5.1\Engine\Source\Runtime\RenderCore\Public\RenderingThread.h:206]
UnrealEditor_UnrealLive2D!TGraphTask<TEnqueueUniqueRenderCommandType<`FCubismSepRender::DrawSeparateToRenderTarget'::`2'::CaptureCommandName,<lambda_f1ef77cccae5a7da44d311c13a512d33> > >::ExecuteTask() [C:\Program Files\Epic Games\UE_5.1\Engine\Source\Runtime\Core\Public\Async\TaskGraphInterfaces.h:1348]
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_RenderCore
UnrealEditor_RenderCore
UnrealEditor_Core
UnrealEditor_Core
kernel32
ntdll

I'm not sure if this is fixable, but hopefully it can be fixed without too much hassle. Thanks for creating this project!

@Arisego

Arisego commented Dec 21, 2022

Copy link
Copy Markdown
Owner

Hi! Thank you for your contribution.
I will take a look into UE5.1 when I got time, maybe before New Year's Day.
And I noticed that I forgot to make this repo updated with the plugin repo. If you want to use the plugin before I update it, you may want to start with the plugin repo, its in UE5.0 version. Some render parts have changed between UE4.27 and UE5.0, which could be the source of the crash.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants