Posts: 13
Threads: 5
Joined: Jul 2021
Reputation:
0
Hey there! Hope you are doing well!
I am using Unity 2022.3.21.f1 Obi Fluid 6.5. I am working with Built-in rendering pipeline.
I got an issue when building for Android - in my scenes fluid render looks like red squares, game freezes and/or crashes then.
At obi sample scene Faucet I cannot see fluid rendering at all, scene also freezes heavily, making it almost impossible to even quit.
I have no such issues with iOS, everything works properly.
At the Logcat tab in the Android studio I got no errors related to Obi. Could you please help me with this issue?
Posts: 6,347
Threads: 24
Joined: Jun 2017
Reputation:
400
Obi Owner:
(21-10-2024, 12:55 AM)Rearden Wrote: I got an issue when building for Android - in my scenes fluid render looks like red squares, game freezes and/or crashes then.
At obi sample scene Faucet I cannot see fluid rendering at all, scene also freezes heavily, making it almost impossible to even quit.
Hi,
Which solver backend are you using? Also, which kind of Android hardware are you targeting?
Posts: 13
Threads: 5
Joined: Jul 2021
Reputation:
0
21-10-2024, 01:03 PM
(This post was last modified: 21-10-2024, 01:43 PM by Rearden.)
(21-10-2024, 07:58 AM)josemendez Wrote: Hi,
Which solver backend are you using? Also, which kind of Android hardware are you targeting?
Hey there! I am using Burst, targeting API 34. I've just updated Burst to 1.8.18 with no luck, unfortunately
Posts: 6,347
Threads: 24
Joined: Jun 2017
Reputation:
400
Obi Owner:
21-10-2024, 01:42 PM
(This post was last modified: 21-10-2024, 01:43 PM by josemendez.)
(21-10-2024, 01:03 PM)Rearden Wrote: targeting API 34
Hi!
That's the SDK/Android version. I meant which kind of device, in order to roughly know GPU capabilities (Obi 6 requires floating texture support for fluid rendering).
kind regards,
Posts: 13
Threads: 5
Joined: Jul 2021
Reputation:
0
21-10-2024, 02:14 PM
(This post was last modified: 21-10-2024, 02:14 PM by Rearden.)
(21-10-2024, 01:42 PM)josemendez Wrote: Hi!
That's the SDK/Android version. I meant which kind of device, in order to roughly know GPU capabilities (Obi 6 requires floating texture support for fluid rendering).
kind regards,
Well, Android Studio says it's Android 12.0 under my device at the Device Manager tab, if that's what you meant. There were no problems rendering liquids with that device previously with Unity 2021.3.11f1, also "hard" particles(Like in the rolling friction demo) works just fine
Posts: 6,347
Threads: 24
Joined: Jun 2017
Reputation:
400
Obi Owner:
21-10-2024, 02:36 PM
(This post was last modified: 21-10-2024, 02:38 PM by josemendez.)
(21-10-2024, 02:14 PM)Rearden Wrote: Well, Android Studio says it's Android 12.0 under my device at the Device Manager tab, if that's what you meant.
What I mean is the physical hardware you're using. Like, is it a Samsung Galaxy mobile phone? A Quest VR headset? a Google Pixel? etc.
(21-10-2024, 02:14 PM)Rearden Wrote: There were no problems rendering liquids with that device previously with Unity 2021.3.11f1,
Oh, that's important information. Do you mean the exact same project worked fine on the exact same device using a previous Unity version?
(21-10-2024, 02:14 PM)Rearden Wrote: also "hard" particles(Like in the rolling friction demo) works just fine
"Hard" particles don't require any specific GPU capability, they're just quads. Fluid on the other hand uses full-screen render textures since they're rendered using screen-space splatting, as explained in the manual. For this to work, hardware must support floating point render textures, hence why I'm asking what hardware you're using.
Posts: 13
Threads: 5
Joined: Jul 2021
Reputation:
0
Oh, got it, I am using Redmi Note 10S
Yep, this is pretty much exact same project aside of some new content etc. There was the same Obi version and it worked perfectly
Posts: 13
Threads: 5
Joined: Jul 2021
Reputation:
0
(21-10-2024, 02:47 PM)Rearden Wrote: Oh, got it, I am using Redmi Note 10S
Yep, this is pretty much exact same project aside of some new content etc. There was the same Obi version and it worked perfectly Fortunately, I've found were the issue was - I was targeting low quality settings for the current Android build, with medium settings all works just fine! I think mb it is somehow related to a floating texture. Thank you, Jose!
|