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

Game crashes if Door class is patched #183

Closed
polycone opened this issue Jul 28, 2023 · 0 comments · Fixed by #184
Closed

Game crashes if Door class is patched #183

polycone opened this issue Jul 28, 2023 · 0 comments · Fixed by #184
Assignees
Labels
bug Something isn't working critical A critical issue tech Technical feature

Comments

@polycone
Copy link
Member

polycone commented Jul 28, 2023

Steps to reproduce:

  1. Patch any Door method with an empty patch
  2. Load saved game with some doors
  3. Click Lock on any door
  4. Un-pause game

The reason is static field Door.OVERRIDE_ANIMS is being initialized during the detour process before assets are available.

(https://forums.kleientertainment.com/forums/topic/149951-simple-empty-mod-causes-game-to-crash/)

@polycone polycone added bug Something isn't working tech Technical feature labels Jul 28, 2023
@polycone polycone added this to the [Alpha] Bare minimum milestone Jul 28, 2023
@polycone polycone self-assigned this Jul 28, 2023
@polycone polycone moved this to In Progress in Multiplayer Mod Jul 28, 2023
polycone added a commit that referenced this issue Jul 28, 2023
polycone added a commit that referenced this issue Jul 28, 2023
@polycone polycone linked a pull request Jul 28, 2023 that will close this issue
@polycone polycone added the critical A critical issue label Jul 28, 2023
polycone added a commit that referenced this issue Jul 29, 2023
@github-project-automation github-project-automation bot moved this from In Progress to Done in Multiplayer Mod Jul 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working critical A critical issue tech Technical feature
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant