A local variable `colliderBatch' cannot be used before it is declared

Update just released. Zone manager will NOT load. Here is the error

[Error] Error while compiling: ZoneManager.cs(829,70): error CS0841: A local variable `colliderBatch' cannot be used before it is declared

 

+ , please fix it!
yeah needs a fix :) @k1lly0u
Getting the same error on my server too.
Yep same here.
yes fix pls
+1 broken :(
same here
for now change:
            private void FindBuildings()
            {
                int entities = definition.Size != Vector3.zero ? Physics.OverlapBoxNonAlloc(definition.Location, definition.Size / 2, colBuffer, Quaternion.Euler(definition.Rotation)) : Physics.OverlapSphereNonAlloc(definition.Location, definition.Radius, colBuffer);

                for (var i = 0; i < entities; i++)
                {
                    MeshColliderBatch colliderBatch = colBuffer[i].GetComponent<MeshColliderBatch>();
                    colBuffer[i] = null;
                    if (colliderBatch == null)
                        continue;

                    List<MeshColliderLookup.LookupEntry> colliders = colliderBatch.meshLookup.src.data;
                    Bounds bounds = gameObject.GetComponent<Collider>().bounds;
                    foreach (MeshColliderLookup.LookupEntry lookupEntry in colliders)
                    {
                        if (lookupEntry.collider && lookupEntry.collider.bounds.Intersects(bounds) && lookupEntry.collider.gameObject.GetComponentInParent<BuildingBlock>())
                        {
                            OnColliderEnterZone(lookupEntry.collider);
                        }
                    }
                }
            }​
 
to:
            private void FindBuildings()
            {
                int entities = definition.Size != Vector3.zero ? Physics.OverlapBoxNonAlloc(definition.Location, definition.Size / 2, colBuffer, Quaternion.Euler(definition.Rotation)) : Physics.OverlapSphereNonAlloc(definition.Location, definition.Radius, colBuffer);


            }​
In response to Ryrzy ():
for now change:
private void FindBuildings() { int ent...
not work for me

Getting this error with replacement of those line,

(17:24:23) | Error while compiling: ZoneManager.cs(823,14): error CS1056: Unexpected character `​'

I have fix for that. I can give it to everyone in discord - Orange#0900

Same here - "ColliderBatch" ... can't compile 

 

In response to Orange ():
I have fix for that. I can give it to everyone in discord - Orange#0900
That discord isn't showing up.
I'm sure k1llyou will get it straightened out soon enough.