Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

AssetBundle replacement

Discussion in 'Editor & General Support' started by SweetBro, May 4, 2021.

  1. SweetBro

    SweetBro

    Joined:
    Jan 14, 2013
    Posts:
    69
    In a modding usecase using Harmony is it possible to replace all asset references from one asset bundle with another. Say for example:

    We have original "resources.assets" which we then clone, and modify some of the assets inside to have different values, then remove all the unmodified assets, and save it to "modded_resources.assets". Is it possible to then programmatically at runtime replace all references to the original resources in "resources.assets" with their modified counterpart in "modded_resources.assets" after loading it in with AssetBundle.LoadFromFile.
     
  2. Deleted User

    Deleted User

    Guest

    Hello SweetBro,

    Did you find a solution for this problem ?