Search Issue Tracker
Won't Fix
Votes
0
Found in
2019.2.4f1
2020.1
Issue ID
1186843
Regression
No
[Linux] System.Environment.GetEnvironmentVariables() always returns null unless the Editor was launched from the Terminal
How to reproduce:
1. Add these two lines at the end of your .bashrc file which is located at home directory:
export ROS_MASTER_URI=http://machine:11311/
export ROS_HOSTNAME=machine
2. Open the attached project '1186843.zip'
3. Make sure 'SampleScene' is open and enter Play mode
4. Observe the console
Expected results: GetEnvironmentVariables() returns exported ROS_MASTER_URI and ROS_HOSTNAME
Actual results: GetEnvironmentVariables() returns null
Reproducible with: 2017.4.32f1, 2018.4.10f1, 2019.2.8f1, 2019.3.0b6, 2020.1.0a8
Notes:
- As a workaround, launch the Editor via the Terminal, it will then return the environment variables correctly.
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (2020.1.X):
Doesn't meet the quality bar.