Skip to content

Code "Enable Stage Collision Debug View" disables collision in Rooftop Run + crash prone. #1369

@ChimeraReyat

Description

@ChimeraReyat

Validation

  • I have checked the Issues page to see if my problem has already been reported
  • I have confirmed that this bug does not occur in the original game running on original Xbox 360 hardware
    I do not have access to an Xbox 360 (sold mine after I made my dump years ago), and the issue is in regards to a HMM code. This being the case, I cannot confirm whether the XML option to enable stage collision preview results in the same behavior, or if this is exclusively a problem with the code itself.

If you have DLC installed, please specify which ones you have.

  • Apotos & Shamar Adventure Pack
  • Chun-nan Adventure Pack
  • Empire City & Adabat Adventure Pack
  • Holoska Adventure Pack
  • Mazuri Adventure Pack
  • Spagonia Adventure Pack

If you have codes enabled, please specify which ones you have.

  • Enable Stage Collision Debug View

Describe the Bug

"Enable Stage Collision Debug View" will seemingly disable the havok collision of Rooftop Run Act 1 (Day). As the level starts, you can see the the two NPCs usually at the spawn position, however no collision is displayed and sonic is not visible (Fig 1), and once control is given to the player you can observe you are falling to the kill plane (Fig. 2). This behavior seems unique to Rooftop Run, as other daytime stages do not have this issue. Notably, this bug is unique to "Enable Stage Collision Debug View" and NOT "Enable Object Collision Debug View" (Fig. 3), which works as expected. Also of note, this happened for Rooftop Run Act 1-2, but no other acts of Rooftop Run.

Additionally, it seems certain actions can cause a crash when playing with this code enabled. If you "snake" while drifting with this code is enabled--that is, drift and continuously change your direction from left to right--you can somewhat consistently cause a crash. While testing Rooftop Run Act 3 (Day), I also managed to cause a crash when collecting a chao close to a wall, though this was after I have jumped, hopped, and walljumped previously, so it is unclear what caused that--nevertheless, the drift crash is fairly consistent. Bear in mind the crash might not occur for at least a few seconds after the stage starts.

I have only tested the following stages with this code enabled, all "Day" acts:

  • Windmill Isle Act 1
  • Windmill Isle Act 2
  • Savannah Citadel Act 1
  • Rooftop Run Act 1
  • Rooftop Run Act 1-2
  • Rooftop Run Act 2
  • Rooftop Run Act 3
  • Rooftop Run Act 4
  • Rooftop Run Act 5

Werehog may or may not have its own associated issues with this code enabled, I am only reporting on what I have experienced.

Steps to Reproduce

Steps to reproduce the bug:

  1. Enable the code in HMM.
  2. Enter Rooftop Run Act 1 (Day) to observe lack of collision.
  3. Enter Savannah Citadel Act 1 (Day) or any other daytime stage and snake while drifting to invoke a crash. Note again this might not cause an immediate crash, you might have to snake more than once.

Expected Behavior

This setting should not affect collision being enabled or cause crashes. All it should do is disable particles (not counting runtime generated particles) and terrain, while creating a visual for havok collision.

Footage

Fig. 1
Image

Fig. 2
Image

Fig. 3
Image

Specifications

Fill out the following details:

  • CPU: 12th Gen Intel(R) Core(TM) i7-12700H 2.70 GHz
  • GPU: NVIDIA GeForce RTX 3060 Laptop
  • GPU Driver: 546.01 DCH
  • OS: Windows 11 Home 23H2
  • Version: 22631.4602

Metadata

Metadata

Assignees

No one assigned

    Labels

    hmm codeIssue caused by a feature exposed as a hmm code

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions