Search Forums

(Advanced Search)

Latest Threads
Rope going through wall
Forum: Obi Rope
Last Post: josemendez
9 hours ago
» Replies: 5
» Views: 60
In SolidifyOnContact exsa...
Forum: Obi Fluid
Last Post: asimofu_ok
10 hours ago
» Replies: 5
» Views: 122
Change rod section at run...
Forum: Obi Rope
Last Post: matty337s
02-08-2025, 06:07 AM
» Replies: 0
» Views: 61
Sliding along a rope
Forum: Obi Rope
Last Post: vrt0r
01-08-2025, 07:43 PM
» Replies: 0
» Views: 47
Is it possible to render ...
Forum: Obi Fluid
Last Post: asimofu_ok
01-08-2025, 10:07 AM
» Replies: 2
» Views: 108
Cloth has stretchy behavi...
Forum: Obi Cloth
Last Post: Andreia Mendes
31-07-2025, 02:38 PM
» Replies: 22
» Views: 916
Get separate particles pa...
Forum: Obi Fluid
Last Post: slimedev
29-07-2025, 06:51 PM
» Replies: 6
» Views: 3,247
Solver outside of hierarc...
Forum: General
Last Post: Jawsarn
29-07-2025, 06:19 PM
» Replies: 4
» Views: 203
Rope ignoring colliders o...
Forum: Obi Rope
Last Post: josemendez
24-07-2025, 07:03 AM
» Replies: 1
» Views: 142
Ladder made by Ropes (Rat...
Forum: Obi Rope
Last Post: josemendez
23-07-2025, 01:43 PM
» Replies: 5
» Views: 341

 
Dedo arriba [FIXED] Dispose of atomic safety handle error when game start
Posted by: kaser - 01-12-2023, 03:22 AM - Forum: Obi Cloth - Replies (11)

Code:
System.ObjectDisposedException: The UNKNOWN_OBJECT_TYPE has been deallocated, it is not allowed to access it
  at (wrapper managed-to-native) Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle.CheckDeallocateAndThrow_Injected(Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle&)
  at Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle.CheckDeallocateAndThrow (Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle handle) [0x00000] in <b41119cc6741409ea29f63c7f98de938>:0
  at Obi.ObiNativeList`1[T].Dispose (System.Boolean disposing) [0x0003f] in ....\Standard Assets\Vendor\Obi\Scripts\Common\DataStructures\NativeList\ObiNativeList.cs
   

Hi, I got an error message after game start while using the Obi , as shown above.

Please help me to fix this error

The following is the current version information used in the project
Unity 2022.3.6f1
Burst 1.8.8
Jobs 0.70.0-preview(Exp)
URP 14.0.8
Mathematics 1.2.6
Collections 2.1.4

Obi Cloth 6.5.4
Obi Rope 6.5.4
   
If you need further information, please let me know

12月1日 1:02


   


I checked the error code and found strange parts. 
The Dispose process used Bool, but it was not actually used in the Function
Therefore, I added a correction, but I am not sure if this correction is correct. 

After more digging . I think Obi's implementation of Create and Dispose may have missed implementations, resulting in Dispose not running properly.
If anyone is also investigating, welcome to join

Print this item

  Obi7Fluid_beta Shader errors on build
Posted by: Snail921 - 30-11-2023, 04:53 AM - Forum: Obi Fluid - Replies (6)

Hi,

After successfully installing Obi7Fluid_beta with a few small code modification you explained here, I add xr related plugin to the project, replace the main camera to OVR camera rig and tried to build it for the meta quest, then I received two shader errors in the log. They are two but seems the same error so maybe I can assume I got one error. The message is as below:

Code:
Shader error in 'Shader Graphs/IndirectTransparent': invalid subscript 'shadowCoord' at /UnityProjects/URP_Obi7/Library/PackageCache/com.unity.shadergraph@14.0.9/Editor/Generation/Targets/BuiltIn/Editor/ShaderGraph/Includes/Varyings.hlsl(132) (on vulkan)

Compiling Subshader: 1, Pass: Pass, Vertex program with DIRECTIONAL LIGHTPROBE_SH STEREO_MULTIVIEW_ON _MAIN_LIGHT_SHADOWS
Platform defines: SHADER_API_MOBILE UNITY_ASTC_NORMALMAP_ENCODING UNITY_ENABLE_REFLECTION_BUFFERS UNITY_LIGHTMAP_RGBM_ENCODING UNITY_NO_CUBEMAP_ARRAY UNITY_NO_FULL_STANDARD_SHADER UNITY_NO_RGBM UNITY_NO_SCREENSPACE_SHADOWS UNITY_PASS_FORWARDBASE UNITY_PBS_USE_BRDF3 UNITY_PRETRANSFORM_TO_DISPLAY_ORIENTATION
Disabled keywords: DIRLIGHTMAP_COMBINED DYNAMICLIGHTMAP_ON FOG_EXP FOG_EXP2 FOG_LINEAR INSTANCING_ON LIGHTMAP_ON LIGHTMAP_SHADOW_MIXING SHADER_API_GLES30 SHADOWS_SCREEN SHADOWS_SHADOWMASK UNITY_COLORSPACE_GAMMA UNITY_ENABLE_DETAIL_NORMALMAP UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_HALF_PRECISION_FRAGMENT_SHADER_REGISTERS UNITY_HARDWARE_TIER1 UNITY_HARDWARE_TIER2 UNITY_HARDWARE_TIER3 UNITY_LIGHTMAP_DLDR_ENCODING UNITY_LIGHTMAP_FULL_HDR UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_METAL_SHADOWS_USE_POINT_FILTERING UNITY_NO_DXT5nm UNITY_PBS_USE_BRDF1 UNITY_PBS_USE_BRDF2 UNITY_SPECCUBE_BLENDING UNITY_SPECCUBE_BOX_PROJECTION UNITY_UNIFIED_SHADER_PRECISION_MODEL UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_VIRTUAL_TEXTURING VERTEXLIGHT_ON _MAIN_LIGHT_SHADOWS_CASCADE _SHADOWS_SOFT


How can I fix this?
Unity 2022.3.13f1 (Android/URP/Vulkan) 
Universal RP 14.0.9 
Burst 1.8.9 
Collections 2.1.4 
Mathematics 1.2.6

   

Print this item

  Physics-driven VR Fishing
Posted by: astro.domine - 29-11-2023, 05:06 AM - Forum: Made with Obi - Replies (2)



Ultimately, my vision is of a VR fishing game in which you navigate lakes/rivers with a canoe or kayak and use an array of tackle to catch different species of fish. Haptic feedback is used to simulate the resistance of the fish on the line and reel. Everything is driven by actual rigidbody forces.
I have built a fish behavior system that allows the fish to respond to various kinds of stimuli with a range of behavior.

If this idea seems compelling to anyone, I am actively looking for another person to join the project as a developer or artist.

Print this item

  ObiFluid_7.0b installation issue
Posted by: Snail921 - 29-11-2023, 03:56 AM - Forum: Obi Fluid - Replies (4)

Hi.
I created a new project, set it for Android then import the ObiFluid_7.0b.
Burst and Mathematics had been included already so I imported Collections package.
According to this page, Jobs package was replaced (included?) in the Collections now, so I have never imported Jobs to the project.
At this moment, I have two errors.
   

  • NullReferenceException: Object reference not set to an instance of an object
    Obi.ComputeFluidMesherSystem..ctor (Obi.ObiSolver solver) (at Assets/Obi/Scripts/Common/Backends/Compute/Rendering/Fluid/ComputeFluidMesherSystem.cs:105)
    Obi.ObiFluidSurfaceMesher.Obi.ObiRenderer<Obi.ObiFluidSurfaceMesher>.CreateRenderSystem (Obi.ObiSolver solver) (at Assets/Obi/Scripts/Fluid/Rendering/ObiFluidSurfaceMesher.cs:53)
    Obi.ObiRenderer`1[T].RegisterRenderer (Obi.ObiSolver solver) (at Assets/Obi/Scripts/Common/Rendering/ObiRenderer.cs:47)
    Obi.ObiActorRenderer`1[T].EnableRenderer () (at Assets/Obi/Scripts/Common/Rendering/ObiActorRenderer.cs:20)
    Obi.ObiFluidSurfaceMesher.OnEnable () (at Assets/Obi/Scripts/Fluid/Rendering/ObiFluidSurfaceMesher.cs:23)
  • Assets\Obi\Scripts\Common\Backends\Burst\DataStructures\ConstraintBatcher\ConstraintSorter.cs(144,27): error CS1501: No overload for method 'Sort' takes 1 arguments
The first one appeared right after I imported the ObiFluid_7.0b and the second one appeared after I imported the Collections to the project.
How should I do from here?

Thanks!

Unity 2022.3.13f1 (Android/URP)
Burst 1.8.9
Collections 2.1.4
Mathematics 1.2.6

Print this item

  What is the role of Shape Matching Constraints?
Posted by: KBTIT_ - 25-11-2023, 03:06 PM - Forum: Obi Softbody - Replies (6)

I cannot change the TransForm of an OBi SoftBody if the Shape Matching Constraints of the OBi SoftBody is enabled.


I don't see anything in the documentation about that...
http://obi.virtualmethodstudio.com/manua...aints.html

However, if Shape Matching Constraints is not enabled, you cannot change that parameter.
How can I change TransForm while Shape Matching Constraints is enabled?

What are Shape Matching Constraints anyway?

Print this item

  How to soften the stick
Posted by: KBTIT_ - 25-11-2023, 07:25 AM - Forum: Obi Softbody - Replies (1)

How can I determine the softness of an object?

For example, place a long stick horizontally in the air.
If you soften the hardness of this stick, the stick will bend, and so on.

I just want to do the same thing as DeformationGradient in Samples, but I don't know how to achieve this.

Print this item

  [Solved] Fluid setup for URP 14? What am I missing?
Posted by: Snail921 - 24-11-2023, 05:40 AM - Forum: Obi Fluid - Replies (4)

Hi Jose, I need your help.
The fluid is rendered in properly in the Editor but not rendered in the build for the meta Quest(3).
As I attached the image, here is what I have done according the tutorial video and setup guide in the manual.

  • Set to rendering mode to multi pass.
  • Added ObiFluidRendererFeature to URP-Balanced-Renderer.
  • Check Opaque and Depth check box in the URP Balanced asset.
  • Added ObiFluidRenderer to all cameras in my camera rig. (May not be necessary?)
What else do I need to do to make it work, sir?

Unity 2022.3.13f.1
URP 14.0.9
Graphics API set to Vulkan

Btw, in the BiRP, obi fluid runs pretty fast in Quest3. It is astonishing!



Attached Files Thumbnail(s)
   
Print this item

Exclamación Anything with softbody crashes Unity
Posted by: Ilkay - 22-11-2023, 11:20 AM - Forum: Obi Softbody - Replies (1)

I recently added Obi Softbody to my project and created a blueprint by following the tutorial on youtube. but whenever I press play on unity, the engine just crashes. It sometimes doesn't crash which is rare but when it doesn't crash, softbody doesn't work.
Unity version = 2022.3.7f1

Print this item

  Poor performance due to semaphore wait for signal
Posted by: Henning - 20-11-2023, 07:57 PM - Forum: General - Replies (4)

Hi Obi team!



I have been trying to improve the time performance of my project recently with the Unity profiler.



One significant part of the CPU usage (40-50%) was under Obi fixed updater, "semaphore. wait for signal". As shown in the attached image.


I did some googling and it seems like that updater was waiting for the frame to be rendered? Just want to confirm this is correct and I should work on simplifying the rendering process.



Many thanks in advance!



Regards,

Print this item

  How to prevent granular from colliding with themselves
Posted by: huangfeihu - 20-11-2023, 03:25 AM - Forum: Obi Fluid - Replies (1)

How to prevent the granular themselves from colliding and only collide with the set layer

Print this item