Skip to content

Bug Report: Playtesting a chart only loads the default variation script #6396

@VirtuGuy

Description

@VirtuGuy

Issue Checklist

  • I have read the Contributing Guide
  • I have checked the Issues/Discussions pages to see if my issue has already been reported
  • I have properly titled my issue
  • I did not have any mods installed when I encountered this issue

Platform

Windows (Downloadable Build)

Version

0.7.5

Description (include any images, videos, errors, or crash logs)

When playtesting a chart, the script for the default song variation loads no matter the current variation. After attempting to fix this problem, I had concluded that it might have to do with the buildRaw() function located in Song.hx. Within buildRaw() is what builds the song with the script class, which tracing the class name would only result in the class name of the song's default script, instead of it being any of the variation scripts. This bug would also be the cause for #5923 and you can tell by noticing how the tankmen are positioned higher than they should be.

Steps to Reproduce

  1. Open a song in the chart editor (probably best to do a pico mix because yeah).
  2. Playtest
  3. Huh? I wonder why my stress-pico.hxc script no longer does the funny camera spinning like what it had been doing before I opened the chart editor???

Metadata

Metadata

Labels

status: pending pull requestDependent on a pull request that is currently awaiting review.topic: modsRelated to the creation or use of mods.type: minor bugInvolves a minor bug or issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions