Fix texture not found when it is active texture in asset bundle#136
Merged
Fix texture not found when it is active texture in asset bundle#136
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR fixes an issue where textures could not be found when they exist as active textures in asset bundles. The fix involves updating the texture resolution logic to properly scan asset bundles for textures in collection-type graphics.
- Updated all project references to use Krafs.Rimworld.Ref version 1.6.4566
- Enhanced texture path resolution to check asset bundles when scanning for collection textures
- Added new method to search asset bundles for textures under a specific folder path
Reviewed Changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| VehiclesPatch.csproj | Updated Krafs.Rimworld.Ref package reference to version 1.6.4566 |
| TacticowlPatch.csproj | Updated Krafs.Rimworld.Ref package reference to version 1.6.4566 |
| PerformanceOptimizerPatch.csproj | Updated Krafs.Rimworld.Ref package reference to version 1.6.4566 |
| ModRequestAPI.csproj | Updated Krafs.Rimworld.Ref package reference to version 1.6.4566 |
| LightsaberPatch.csproj | Updated Krafs.Rimworld.Ref package reference to version 1.6.4566 |
| FacialAnimationPatch.csproj | Updated Krafs.Rimworld.Ref package reference to version 1.6.4566 |
| CombatExtendedPatch.csproj | Updated Krafs.Rimworld.Ref package reference to version 1.6.4566 |
| CAI5000Patch.csproj | Updated Krafs.Rimworld.Ref package reference to version 1.6.4566 |
| AnimationMod.csproj | Updated Krafs.Rimworld.Ref package reference to version 1.6.4566 |
| AlienRacesPatch.csproj | Updated Krafs.Rimworld.Ref package reference to version 1.6.4566 |
| RetextureUtility.cs | Added asset bundle scanning logic to texture path resolution and renamed method for clarity |
| AMRetextureSupport.csproj | Updated Krafs.Rimworld.Ref package reference to version 1.6.4566 |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.