Skip to content

Growing AssetFolders list in the sdpkg-fileΒ #2667

@laske185

Description

@laske185

Release Type: Official Release

Version: 4.2.0.2371

Platform(s): Windows

Describe the bug
When saving the solution in the game studio, the list of asset folders in the sdpkg-file of the projects grows every time you save. Additionally, the absolute path of the asset folders is added.

To Reproduce
Steps to reproduce the behavior:

  1. Open a project in game studio from a clean git repo
  2. Make some changes
  3. Save
  4. Look in the git diff of the sdpkg-file.

Expected behavior
The sdpkg-file should normally not be changed when saving in the game studio.

Screenshots
If applicable, add screenshots to help explain your problem (use GitHub drag & drop)

Image

Log and callstacks
If any, please attach here any log or callstack (preferably in a .txt file using GitHub drag and drop)

The failure seems to be happened here:

if (!assetFolders.Add(assetFolderAbsolute))

In the current version, every time the asset folder was not added, it is added to the AssetsFolder list.

4.2.0.2293 4.2.0.2371
Image Image

Additional context
Add any other context about the problem here.

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