Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: scene linking for scenes loaded by path #41

Merged
merged 2 commits into from
Jul 31, 2024
Merged

Conversation

joaoborks
Copy link
Member

Fixes #40.

In version 2.x, the standard (non-addressable) scenes were never linked to their load scene info. In version 3.x the package introduced scene linking, but did not account for scenes loaded by path.

This PR includes support for scene linking when loading scenes by path and includes scenes loaded by path in all existing tests.

@joaoborks joaoborks added the bug Something isn't working label Jul 31, 2024
@joaoborks joaoborks self-assigned this Jul 31, 2024
Copy link

codecov bot commented Jul 31, 2024

Codecov Report

Attention: Patch coverage is 71.42857% with 2 lines in your changes missing coverage. Please review.

Project coverage is 93.14%. Comparing base (68e93f3) to head (e790fa9).
Report is 1 commits behind head on main.

Files Patch % Lines
....scene-loader/Runtime/Structs/LoadSceneInfoName.cs 83.33% 1 Missing ⚠️
...ene-loader/Runtime/Utilities/SceneDataUtilities.cs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #41      +/-   ##
==========================================
+ Coverage   93.01%   93.14%   +0.12%     
==========================================
  Files          22       22              
  Lines         730      729       -1     
==========================================
  Hits          679      679              
+ Misses         51       50       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@joaoborks joaoborks merged commit 7dc5641 into main Jul 31, 2024
6 checks passed
joaoborks pushed a commit that referenced this pull request Jul 31, 2024
## [3.0.1](3.0.0...3.0.1) (2024-07-31)

### Bug Fixes

* scene linking for scenes loaded by path ([#41](#41)) ([7dc5641](7dc5641))
@joaoborks joaoborks deleted the fix/load-by-path branch July 31, 2024 22:20
@joaoborks
Copy link
Member Author

🎉 This PR is included in version 3.0.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

github-actions bot pushed a commit that referenced this pull request Jul 31, 2024
* fix loading scenes by path

* improve loadsceneinfoname debug name
github-actions bot pushed a commit that referenced this pull request Aug 16, 2024
## [3.0.1](3.0.0...3.0.1) (2024-07-31)

### Bug Fixes

* scene linking for scenes loaded by path ([#41](#41)) ([7dc5641](7dc5641))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to link all scene datas to loaded scenes. Linked 0/1
1 participant