Comments (22)
Sorry, this is taking a lot longer than expected unfortunately. This issue has been fixed though finally, and will make its way to current Unity versions.
from 2d-extras.
Offset Distance parameter in Composite collider 2D to 0.05 works fine for me.
from 2d-extras.
Unfortunately, this fix appears to be creating a major issue with the composite colliders. In 2019.2.11, when using a Composite Collider 2D with a Tilemap Collider 2D, I'm unable to set an offset distance of zero. This causes the Composite Collider 2D to generate uneven lines, breaking collisions in my game. Is there a way to restore the previous Composite Collider 2D behavior, which generates straight lines between points?
from 2d-extras.
I've seem a similar problem with incorrect composite colliders, as well. When I toggle the used by composite, it leave gaps between the tiles which can cause issues.
from 2d-extras.
We will check this out.
Also, are any custom rotations or transforms used when added Tiles to the Tilemap for these cases?
from 2d-extras.
Also, if this can be easily reproducible, could you file a Unity bug report with that project? Thanks!
from 2d-extras.
I think you're onto something, @ChuanXin-Unity!
All of the tiles that are causing issues for me in the above shot are set to Rotation Y = 180.
It is easily reproducible, as all it takes is toggling the Used by Composite flag and they appear. I'll file a bug.
from 2d-extras.
Hi there. Was there ever an update or work-around on this? I'm running into issues with the CompositeCollider2D leaving behind old collision geometry too.
from 2d-extras.
I've not heard any updates myself.
from 2d-extras.
I'm also having the same issue. No update yet, also submit a report
from 2d-extras.
Same issue :( waiting for update.
from 2d-extras.
Any updates, @ChuanXin-Unity?
from 2d-extras.
Hoping to resolve this for a 2018.3 backport.
from 2d-extras.
Great news, thank you. Does that include any sort of timeline or ETA?
from 2d-extras.
Sorry, nothing in particular. Backports to 2018.3 may take sometime due to validation. I will update the versions where the fix has landed here to keep everyone updated.
from 2d-extras.
Sorry, nothing in particular. Backports to 2018.3 may take sometime due to validation. I will update the versions where the fix has landed here to keep everyone updated.
Any news about this? I tried 2019.1b and it had the same issue.
from 2d-extras.
Dare I ask for en ETA? I don't see it listed as a known issue, so I wonder if it will be listed as a fix when it is released?
from 2d-extras.
Currently, the confirmed version with a system to handle these gaps would be Unity 2019.2.0a15. A 2019.1 version will be coming soon.
The Composite Collider 2D has an additional setting, Offset Distance, along with the existing Vertex distance to help deal with the gaps:
from 2d-extras.
The 2019.1 version will be Unity 2019.1.2f1.
from 2d-extras.
I have an issue that may be somewhat similar but I'm not totally sure. My player floats in the air on top of something in a few spots but nothing is there. I tried deleting all layers in the tilemap in that location (actually it is happening in two locations near to each other). I verified that the ground collider is not present in that place. I can also hit my head on whatever the "nothing" is if I try to jump up to it (it appears to be sloped at an angle). The only tilemap piece that appears to be similar in shape is some background mountains but I don't recall ever using them in the area of my game where the issue is happening (not to mention I deleted all layers of the tilemap in this space so that shouldn't be an issue unless residual colliders remain like you are complaining of). Also, my raycast downward (to see if I'm grounded) appears to detect nothing (using a debug.Log message as well as being unable to jump again).
from 2d-extras.
@John-Okleberry Would it be possible to create a bug report using the Unity Bug Reporter when this issue occurs? This would be very helpful in order to find out what causes the issue. Thanks!
from 2d-extras.
The same issue is still in version 2021.1.28f1. Solution is set the Offset Distance in Composite Collider 2D greater or equal to 0.02. May be this parameter depends of pixel per unit of your tiles. In my case it was 31x31 pixel per unit.
from 2d-extras.
Related Issues (20)
- Prefab brush is not showing or working both are error HOT 1
- Error message after install, package not loaded HOT 1
- GridInformationKey should implemented IEquatable<GridInformationKey> and override GetHashCode() to avoid GC alloc HOT 1
- 2D Game Kit errors HOT 5
- unity 2021 package missing files HOT 1
- GridInformation.cs error : The name 'HashCode' does not exist in the current context HOT 6
- Editor Warning On Creation: No script asset for RuleTile. HOT 4
- GameObject Brush paint incorrect position when Cell.Position.y < 0 HOT 2
- New transform of rule tile: rotate and mirror HOT 6
- 2021.1.22f1 HashCode Error HOT 2
- NullReferenceException when using Tile Palette HOT 3
- Gameobject-Tiles and Tile Palette Preview HOT 1
- Mixing Tiles HOT 3
- I have an error. HOT 1
- Error deleting RuleTile with GameObject during physics callback HOT 2
- RuleTile with sibling layer tilemaps? z-axis siblings? HOT 1
- PopulateRuleOverideTileWizard can't work right HOT 8
- Animated Tile Expansion
- Tilemap renderer cannot be refreshed after deletion HOT 2
- Request Special Rule Tile
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 2d-extras.