Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2019.4.X, 2020.1.X
Votes
16
Found in
2019.3.0a11
2019.3.0b12
2020.1.0a1
Issue ID
1200588
Regression
No
Crash after "[Physics.PhysX] Foundation: Invalid registration detected" errors show up when using Physics.BakeMesh
Steps to repro:
1. Open the project attached by the user
2. Enter Play mode
3. Wait a few seconds until "[Physics.PhysX] Foundation: Invalid registration detected" is shown
4. Close Unity Editor
Expected results: Unity Editor is closed
Actual result: "Fatal Error! GetManagerFromContext: pointer to object of manager 'PhysicsManager' is NULL (table index 9)" window is shown and after pressing Quit button, Unity crashes
Reproducible with: 2019.3.0a11, 2019.3.0f3, 2020.1.0a1, 2020.1.0a16
Couldn't test with: 2019.3.0a10 and older Unity versions due to new Mesh API being unavailable on them
Note:
- Physics.BakeMesh is used in multiple background threads
-
iamarugin
Jun 10, 2020 08:16
?
-
Micha-Stettler
May 30, 2020 21:53
Bug is still there in 2020.2.0a12
-
Amandin-E
May 11, 2020 12:30
I reproduce it with 2020.2.0a10.
For me, the message "[Physics.PhysX] Foundation: Invalid registration detected" first shows up after I QUIT play mode (I think Physics.BakeMesh doesn't like to be interrupted).
Once it has happened, the message will show up tons of times as soon as play mode is active.
The only way to get back to normal is to close Unity, which causes the crash described in this bug report.
So there are actually 3 issues:
1) the message should just never show up, even when we exit play mode
2) if for any reason it shows up, it should be safely restored to a working state so we don't need to close Unity
3) when we close Unity, it should not crashHope this can help!
-
TheJavierD
Apr 24, 2020 14:35
happens still in 2019.3.10
-
coidevoid
Apr 16, 2020 22:37
2019.3.10f1 didn't fixed it for me.
-
Kamyker
Apr 16, 2020 21:04
started happening to me after some unity inet communication errors
-
TheJavierD
Apr 01, 2020 17:29
this does happen, the unity editor got into this error once, it went away after restarting.
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
- Tilemap Tiles do not get lit up unless the Light Range is greater than the distance between the position of the Tile before the transformation and the Light Source when the Tile is transformed with Tilemap.SetTransformMatrix method
- The Editor and "Reloading Domain" windows are frozen when entering Play Mode
- Crash when attempting to create a custom FMOD DSP unit
- [Linux] Floating windows do not keep their size after restarting the Editor
- .framework plugin is mistakenly treated as a directory when building for Universal Windows Platform
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0a16
Resolution Note (fix version 2020.1):
Fixed in 2020.1.0b16
Resolution Note (fix version 2019.4):
Fixed in 2019.4.4f1