BuIlDaLiBlE/BetterHI3Launcher

Error dialog on launch after first install

Closed this issue · 1 comments

Describe the bug
After using this launcher (on a clean install with no previous Honkai version) to download honkai, I clicked the Launch button. Instead of the game starting, i got a dialog with the error (21, 40007, 3)

To Reproduce
Steps to reproduce the behavior:

  1. Download game
  2. Click on Launch
  3. Error pops up

Expected behavior
Game should start

Log

BetterHI3Launcher v1.2.20210921.0
Working directory: C:\Users\Xpl0itR\Downloads\
OS version: Windows 10 Pro (Version 21H2, Build 22000.258)
OS language: en-GB
Launcher language: en (autodetect)
Using server: Global
Using mirror: Google Drive
Checking for game update...
Game version: 5.1.0
Game directory: C:\Program Files\Honkai Impact 3rd

The OS version is identified as windows 10, but im using windows 11

Screenshots
image

I've since realised that this is not an issue caused by the launcher. For anyone coming across this, the error is caused by miHoYo's trash anti-cheat conflicting with Windows' Core Isolation Memory Integrity feature. To fix this error either disable memory integrity in settings or set the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity registry key to 0