Skip to content

Vehicles from other dimensions may appear in the current one #1245

@tederis

Description

@tederis

Describe the bug
In some situations vehicles from other dimensions may appear in the current one. The series of calls setElementDimension along with some specific conditions is resulting in breaking of streaming out process. The more complex(like more vertices or bigger size of .txds) a model the more likely the bug appears. But it's only when models don't exist in the model cache.

To reproduce
Steps to reproduce the behaviour:

  1. Restart the game to clean up the model cache.
  2. Download and run the resource testcase_stream
  3. Type the command begintest
  4. You will warp to the airport
  5. You can probably see the bug

testcase_stream.zip

Expected behaviour
Vehicles from other dimension should not appear in the current one(except -1 dimension)

Screenshots
mta-screen_2020-02-07_20-35-41
Version
Multi Theft Auto v1.5.7-release-20399

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions