Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IOS Build stuck
#38
(20-07-2020, 08:11 AM)josemendez Wrote: sampler2D_float is a valid high-precision sampler declaration, as stated in the Unity docs.
https://docs.unity3d.com/Manual/SL-DataT...ision.html

Check if your platform supports high-precision (floating point) textures. If it doesn't (which is very strange, as most modern GPUs do, even mobile ones), you can replace the sampler2D_float declaration in Obi/Resources/ObiMaterials/URP/ObiFluidsURP.cginc with sampler2D. That will fix it. From Unity's docs:



By deleting the shaders, the fluid renderer will no longer work. They are needed for fluid to be rendered at all.



This is of course due to the fact that you simply deleted the shaders used to render the fluid. You can't delete required files and expect things to still work.

How do I check my platform supports high-precision textures?


After I replace the sampler2d_float with sampler2D,
On PC
 -  it works as well (I didn't test on device, just fine on Editor)

On Mac
 - it's not works.  I have to check Render option in Obi Particle Renderer to see fluids.
 - come back to same scene, fluid is not appear in first time
Reply


Messages In This Thread
IOS Build stuck - by marad747 - 19-05-2020, 07:02 PM
RE: IOS Build stuck - by josemendez - 19-05-2020, 07:03 PM
RE: IOS Build stuck - by marad747 - 19-05-2020, 07:44 PM
RE: IOS Build stuck - by josemendez - 20-05-2020, 10:30 AM
RE: IOS Build stuck - by josemendez - 20-05-2020, 10:30 AM
RE: IOS Build stuck - by marad747 - 20-05-2020, 10:53 AM
RE: IOS Build stuck - by josemendez - 20-05-2020, 11:15 AM
RE: IOS Build stuck - by marad747 - 20-05-2020, 03:33 PM
RE: IOS Build stuck - by josemendez - 20-05-2020, 03:51 PM
RE: IOS Build stuck - by marad747 - 20-05-2020, 03:52 PM
RE: IOS Build stuck - by GuanGuan - 27-05-2020, 09:31 AM
RE: IOS Build stuck - by josemendez - 27-05-2020, 09:39 AM
RE: IOS Build stuck - by Dmitry - 05-06-2020, 08:49 AM
RE: IOS Build stuck - by josemendez - 05-06-2020, 09:09 AM
RE: IOS Build stuck - by Dmitry - 05-06-2020, 09:13 AM
RE: IOS Build stuck - by josemendez - 05-06-2020, 09:22 AM
RE: IOS Build stuck - by Dmitry - 05-06-2020, 09:24 AM
RE: IOS Build stuck - by josemendez - 05-06-2020, 09:29 AM
RE: IOS Build stuck - by Dmitry - 05-06-2020, 09:47 AM
RE: IOS Build stuck - by josemendez - 05-06-2020, 09:56 AM
RE: IOS Build stuck - by Dmitry - 05-06-2020, 11:19 AM
RE: IOS Build stuck - by superdev - 05-06-2020, 02:03 PM
RE: IOS Build stuck - by kyongtai - 17-07-2020, 04:15 AM
RE: IOS Build stuck - by josemendez - 17-07-2020, 08:30 AM
RE: IOS Build stuck - by kyongtai - 17-07-2020, 09:42 AM
RE: IOS Build stuck - by josemendez - 17-07-2020, 09:58 AM
RE: IOS Build stuck - by kyongtai - 17-07-2020, 10:02 AM
RE: IOS Build stuck - by josemendez - 17-07-2020, 10:07 AM
RE: IOS Build stuck - by kyongtai - 17-07-2020, 12:41 PM
RE: IOS Build stuck - by josemendez - 17-07-2020, 02:11 PM
RE: IOS Build stuck - by kyongtai - 17-07-2020, 02:37 PM
RE: IOS Build stuck - by kyongtai - 17-07-2020, 04:54 PM
RE: IOS Build stuck - by josemendez - 17-07-2020, 06:04 PM
RE: IOS Build stuck - by kyongtai - 18-07-2020, 01:54 PM
RE: IOS Build stuck - by josemendez - 19-07-2020, 06:15 PM
RE: IOS Build stuck - by kyongtai - 20-07-2020, 02:07 AM
RE: IOS Build stuck - by josemendez - 20-07-2020, 08:11 AM
RE: IOS Build stuck - by kyongtai - 20-07-2020, 01:50 PM
RE: IOS Build stuck - by josemendez - 20-07-2020, 03:56 PM
RE: IOS Build stuck - by kyongtai - 21-07-2020, 02:06 AM
RE: IOS Build stuck - by kyongtai - 23-07-2020, 09:19 AM
RE: IOS Build stuck - by josemendez - 23-07-2020, 12:06 PM
RE: IOS Build stuck - by kyongtai - 24-07-2020, 02:42 PM
RE: IOS Build stuck - by vanshika - 01-08-2020, 06:59 PM
RE: IOS Build stuck - by josemendez - 03-08-2020, 08:09 AM
RE: IOS Build stuck - by 0xhex - 03-08-2020, 01:54 PM
RE: IOS Build stuck - by josemendez - 03-08-2020, 01:58 PM
RE: IOS Build stuck - by 0xhex - 03-08-2020, 07:36 PM