Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[override_resource_desc] function crushed UE engine game, does not have access for virtual memory address. #345

Open
StarBobis opened this issue Apr 30, 2024 · 0 comments

Comments

@StarBobis
Copy link

StarBobis commented Apr 30, 2024

Sorry to disturb , but I meet a problem will cause UE4 game crash with 3Dmigoto's modify feature.
I modify this function: [override_resource_desc] to override the D3D11_BUFFER_DESC's ByteWidth, any number specified here will cause the same problem.

static void override_resource_desc(D3D11_BUFFER_DESC *desc, TextureOverride *textureOverride) { desc->ByteWidth = 12 * 250000; }

and then the UE4 game use 3dmigoto with the code above will always crush with this warning:

<?xml version="1.0" encoding="utf-8" ?> <CrashReporter Project="d4623e10"> <Exception> <ExceptionModuleName>nvwgf2umx.dll</ExceptionModuleName> <ExceptionCode>0xc0000005</ExceptionCode> <ExceptionDescription>The thread attempts to read from or write to a virtual address for which it does not have access.</ExceptionDescription> <ExceptionAddress>0X00007FFF43310799</ExceptionAddress> <DumpFileName>C:\Program Files\Snow\data\game\Game\Binaries\Win64\minidump\8b5cd28a-7cbe-4c9b-9e01-990e7c999421.dmp</DumpFileName> <DumpKey>29E6C019B1E7707A5FB03279B570321D</DumpKey> <DumpGuid>016f7e6c-335a-4169-b0e2-492be85413d0</DumpGuid> <DumpType>native</DumpType> <ExceptionTime>1714453795</ExceptionTime> <TimeToFailure>39</TimeToFailure> <ProcessName>Game.exe</ProcessName> <ProcessInstance>1</ProcessInstance> <ProcessMemUsed PagefileUsage="8910405632" WorkingSetSize="1079767040" /> <ProcessMemPeak PagefileUsage="8933789696" WorkingSetSize="1081257984" /> </Exception>

Is this a Issue that 3Dmigoto can't get enough permission in thread level or is it a UE4 engine designed way to protect their virtual memory not being modified?

By the way, this feature works good in Unity game and other engine game, only UE4 and UE5 engine will show this error.

Any tips will be very helpful ,thanks !

@StarBobis StarBobis changed the title [override_resource_desc] function crushed UE4 engine game, does not have access for virtual memory address. [override_resource_desc] function crushed UE engine game, does not have access for virtual memory address. Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant