Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Version update help
#6
(10-07-2024, 04:16 PM)GuoliZheng Wrote: Unfortunately, after I deleted the old Obi folder and re-exported the custom Obi Fluid 7 package, the newly added ObiSolver component turned out to be the old version, which includes the Oni solver backend. This is very strange.

I guess you meant re-*imported* Obi 7? If you export your Obi folder to a package, no changes will take place in your project and you will still be using Obi 6.

Quote:I hope you can provide more details on version updates, the correct order of steps, any minor issues, or tips.

It’s all explained step by step in the link I shared in my previous post, including small pitfalls and changes in API method signatures, callbacks, etc.

Quote:For example, do I need to remove references to Obi components and scripts from the scenes before deleting the old Obi components?

No, why would you? The files that make up Obi are no different than any other files in Unity: if you import a file with the same GUID than a existing one, it will replace the old file. If the file defines a component, the new component will automatically replace the old one in all scenes/prefabs. If you delete existing components from your scenes Unity will lose track of all references and you will need to re-do everything from scratch.

All that is needed is to delete the old /Obi folder, import the new one, and then remove missing references to components that no longer exist. Up to this step, this process is the same you would follow with any other Unity asset. After this, you will need to perform the steps that are specific to Obi: re-generating blueprints, updating any custom scripts that use Obi’s API, etc.

Kind regards,
Reply


Messages In This Thread
Version update help - by GuoliZheng - 10-07-2024, 09:41 AM
RE: Version update help - by josemendez - 10-07-2024, 09:48 AM
RE: Version update help - by josemendez - 10-07-2024, 01:21 PM
RE: Version update help - by GuoliZheng - 10-07-2024, 01:36 PM
RE: Version update help - by GuoliZheng - 10-07-2024, 04:16 PM
RE: Version update help - by josemendez - 10-07-2024, 04:51 PM
RE: Version update help - by GuoliZheng - 11-07-2024, 03:56 AM
RE: Version update help - by GuoliZheng - 11-07-2024, 05:26 AM
RE: Version update help - by josemendez - 11-07-2024, 10:02 AM
RE: Version update help - by josemendez - 11-07-2024, 10:06 AM