Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash  Obi7Beta | Fluid can not work with paused game and UI
#1
Hi, happy to have my first bug report for Obi 7 Gran sonrisa . The problem:
In my UI code, when menu opened, game is paused by setting
Code:
                Time.timeScale = Mathf.Epsilon;

Game is paused, but my UI can still work, I can click button and that button clicked will do some action.
This UI document can work with any scene, but when I open a Fluid scene (sample: ComputeFluids), when play the game and open UI menu, I can move the focus, but cannot click any button. Essentially, the "consume click" event of the UI Document is somehow stopped working?

So, my conclusion is Compute Fluid has some bug with Time.timeScale = Mathf.Epsilon; that will mess up my UI. It is not frozen, just not consume clicks.

Also, I suggest for a feature to pause ObiSolver from updating. Currently I can only disable ObiSolver when I do not want it to update, but by doing so, for example the Fluid, it will disappear. If the Fluid stop updating but still render, it can be neat for a stop time gameplay feature.
Reply


Messages In This Thread
Obi7Beta | Fluid can not work with paused game and UI - by spikebor - 06-05-2024, 06:12 PM