Skip to content

Opening w2ent template may remove eventOnAttach for CSoundEmitterCompoment #46

@ElementaryLewis

Description

@ElementaryLewis

Describe the bug
When I open a template entity like gameplay\templates\characters\player\player.w2ent. Wolvenkit accidentally removes the last "eventOnAttach" on the CSoundEmitterCompoment chunk. I have to reassign back in order to fix it.
This occurs as well when editing flatCompiling.

To Reproduce
Steps to reproduce the behavior:

  1. Run Wolvenkit 7.2
  2. Open any w2ent having a CSoundEmitterCompoment. For example `gameplay\templates\characters\player\player.w2ent
  3. Save it.
  4. And now one "eventOnAttach" is removed.

Expected behaviour
Should not delete any eventOnAttach if there are multiple of them.

Screenshots
Image

Desktop (please complete the following information):

  • OS: Windows 11

Additional context
Fix present in the stable 7.2 version. The workaround is to reapply the missing eventOnAttach before saving the files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions