Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.1.0b13
Issue ID
1027329
Regression
No
NullReferenceException pops up when calling method from a ScriptableObject
How to reproduce:
1. Open attached Unity project "scriptableissue"
2. Load scene "Main"
3. Add AudioSource component to "tankG2018b" gameobject
4. Build and Run
Expected results: "Ok" message is shown in the console. This works in the Editor.
Actual results: NullReferenceException pops up.
Reproduced with: 2018.2.0b1, 2018.1.0f1, 2017.4.1f1, 2017.2.2p3, 2017.1.3p3.
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
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
- Editor crashes on D3D12GetInterface when repeatedly enabling and disabling 256 text components
- Flickering bright white dots in the Scene when the Android Platform is selected and DX11 Graphics API is used with Iris(R) Xe Graphics GPU
- Inconsistent capitalization and misaligned text in multiple query blocks in Search window
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
Resolution Note:
This particular case has been investigated thoroughly and we have decided, in the interests of protecting the stability and features of Unity for users that rely upon the affected versions, to not address this fix for the time being. We understand that this will cause problems for some users, and so may address in a future version.