Search Issue Tracker
Fixed
Fixed in 5.0.0-pre.5
Votes
0
Found in [Package]
5.0.0-pre.5
Issue ID
PYTHON-201
Regression
No
Editor crashes when using Python Scripting
How to reproduce:
1. Open the user's attached project
2. In the Project window, navigate to Assets/Scripts/Python and open Example.py
3. Edit line 23 (scenarioDirectory) to use the project's current location and save
4. Open scene Scenes/SampleScene
5. Press the Play button and go to Python -> Python Message at the top of the Editor window
Expected result: no crash occurs
Actual result: crash occurs, Bug Reporter window opens
Reproducible with: 5.0.0-pre.5 (2019.4.39f1, 2020.3.34f1, 2021.3.3f1, 2022.1.1f1, 2022.2.0a14)
Could not test with: 4.0.0-pre.1 ('The Python for Unity package is unsupported on the current platform')
Notes:
1. Reproducible on Linux
2. Starting the project throws error "System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: Cannot perform runtime binding on a null reference"
3. Sometimes "PythonException: \[Errno 2] No such file or directory" is thrown although the directory is correct
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on when D3D12RenderPass::SetupDeviceResources when opening FBX animation preview
- Serialization errors are thrown when "com.unity.render-pipelines.core" is added as a custom package and Graphics window is opened
- Character Joints unexpectedly rotate when a ragdoll is created using the Ragdoll Wizard
- Crash on GfxDeviceD3D11Base::DrawBuffersBatchMode when rendering the Scene view
- The shared EditorBuildSettings.asset file of symlinked projects is not updated when changing the order of the Scenes in Build Settings in one of the projects
Add comment