Search Unity

ProBuilder Pro Builder - boolean removed?

Discussion in 'World Building' started by N1warhead, Dec 27, 2019.

  1. N1warhead

    N1warhead

    Joined:
    Mar 12, 2014
    Posts:
    3,542
    Are the boolean tools on Pro Builder removed? I can't seem to find them anymore.
     
  2. Mauri

    Mauri

    Joined:
    Dec 9, 2010
    Posts:
    1,648
  3. N1warhead

    N1warhead

    Joined:
    Mar 12, 2014
    Posts:
    3,542
  4. renanalmeidainsane

    renanalmeidainsane

    Joined:
    Nov 28, 2019
    Posts:
    2
    Do we have any updates on this? I started using ProBuilder and was wondering how to set a mesh to subtraction mode. I saw a YouTube video talking about this Boolean feature, but I can't find it in Unity 2019.3.
     
  5. kaarrrllll

    kaarrrllll

    Unity Technologies

    Joined:
    Aug 24, 2017
    Posts:
    196
    They are still present, but you have to first enable "Experimental Features" in the ProBuilder preferences.
     
    renanalmeidainsane and N1warhead like this.
  6. qq294716498

    qq294716498

    Joined:
    Jun 20, 2017
    Posts:
    3
    I want to call the boolean API at runtime
     
  7. renanalmeidainsane

    renanalmeidainsane

    Joined:
    Nov 28, 2019
    Posts:
    2
    Thanks! I didn't know Packages could have their own options in the Preferences windows. Now I'm able to access that feature, but I'm getting a StackOverflowException when I try to subtract a cylinder from a cube.

    Code (csharp):
    1.  
    2. StackOverflowException: The requested operation caused a stack overflow.
    3. System.Collections.Generic.List`1[T].set_Capacity (System.Int32 value) (at <437ba245d8404784b9fbab9b439ac908>:0)
    4. System.Collections.Generic.List`1[T].EnsureCapacity (System.Int32 min) (at <437ba245d8404784b9fbab9b439ac908>:0)
    5. System.Collections.Generic.List`1[T].Add (T item) (at <437ba245d8404784b9fbab9b439ac908>:0)
    6. UnityEngine.ProBuilder.Experimental.CSG.CSG_Plane.SplitPolygon (UnityEngine.ProBuilder.Experimental.CSG.CSG_Polygon polygon, System.Collections.Generic.List`1[T] coplanarFront, System.Collections.Generic.List`1[T] coplanarBack, System.Collections.Generic.List`1[T] front, System.Collections.Generic.List`1[T] back) (at Library/PackageCache/com.unity.probuilder@4.2.1/Runtime/MeshOperations/CSG/Classes/CSG_Plane.cs:89)
    7. UnityEngine.ProBuilder.Experimental.CSG.CSG_Node.Build (System.Collections.Generic.List`1[T] list) (at Library/PackageCache/com.unity.probuilder@4.2.1/Runtime/MeshOperations/CSG/Classes/CSG_Node.cs:112)
    8. UnityEngine.ProBuilder.Experimental.CSG.CSG_Node.Build (System.Collections.Generic.List`1[T] list) (at Library/PackageCache/com.unity.probuilder@4.2.1/Runtime/MeshOperations/CSG/Classes/CSG_Node.cs:128)
    9. (Repeats last line forever)
    10.  
    I won't be using this anymore since I've found a different solution for what I needed to do, but hopefully you can take care of this error in the near future.
     
unityunity