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
- 'AlphaToMask' is ignored when in non-resolving renderpasses on Metal
- ArgumentException error is thrown when using a specific layout
- WebGPU: ASTC texture mip levels are corrupt
- [Vulkan] Crash on with multiple stack traces when rendering large Terrain with specific hardware
- Crash on SkinnedMeshRendererManager when interacting with a prefab generated with uncombined meshes using Synty Sidekick Character Creator
Add comment