Search Issue Tracker
Fixed in 2018.2.X
Fixed in 2018.1.X
Votes
1
Found in
2018.1.0a1
2018.1.0b12
Issue ID
1017868
Regression
Yes
Using Transform.LookAt() right after instantiating causes a crash in b2BroadPhase::UpdatePairs<b2ContactManager>
Reproduction steps:
1. Open the attached project "SpaceMonsters.zip";
2. Open the SampleScene;
3. Enter a play mode;
4. Click several times on the Game View and try to move the character with arrow keys (usually it takes 3 to 10 clicks).
Actual results: editor crashes.
Reproduced on: 2018.1.0a1, 2018.1.0b13, 2018.2.0a6.
Not reproduced: 2017.1.3p2, 2017.2.2.p2, 2017.3.2f1.
The workaround is to comment out the line which has Transform.LookAt() class.
Fixed in: 2018.2.0b1.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Packman: "My Assets" filters section doesn't rescale on filter sections collapse
- "DrawDepthNormalPrepass" exceptions are thrown in Editor when Ctrl key is held with specific renderer settings
- Script file name changes do not display in Editor when Compiler errors are present
- Sprites are not rotating with bones when the Sprite type is Unlit
- Crash on TransferField_NonArray<YAMLRead,Converter_String> when opening a specific project
Jamescurtis
Aug 24, 2019 09:12
Bonsai tree trees are actually around for so very long that many have a number of notion with what bonsai can be. This train is most favored in your Asian area, but people worldwide also train growing bonsai tree trees. Bonsai trees available for sale are often often considered as a dwarf woods by newcomers.
http://westlakehillslandscaping.com
fazixbsv
Aug 17, 2019 10:03
It’s a game tracker that is used by many people just to click for games. Therefore there is https://topamericanwriters.com/college-paper-org-review/ the link that provides a lot of people an ease.
Darkan_Kana
Apr 12, 2018 13:42
I also got brought onto this page due to a b2BroadPhase::UpdatePairs<b2ContactManager> crash, however in my case it was not due to the use of transform.LookAt(...), but the result of a GameObject with a Collider2D being destroyed specifically when it has a parent. This has been happening as well on version 2018.1.0b13.
The crash does not happen when the GameObject is not parented, or when I remove the Collider2D from the prefab used to instantiate the object in question. Also of note, the crash also happens when calling gameObject.SetActive( false ) instead of Destroy( gameObject ).
GeekyMonkey
Apr 07, 2018 13:05
Actually, I was led here by mistake. When the editor crashed, it indicated this was a know bug. But I've disabled all lookAt calls and I still get the crash. I tracked it down to setting enabled=false on a collider2d.
GeekyMonkey
Apr 07, 2018 11:36
Any workaround that still allows full functionality?