Search Issue Tracker
Fixed in 2018.2.X
Fixed in 2018.1.X
Votes
0
Found in
2018.1.0b6
Issue ID
1001996
Regression
No
[Windows] NullReferenceException calling into native plugin on Windows in Editor with .NET 4.x runtime
How to reproduce:
1. Download attached project file and open this TestInputManager scene.
2. Enter Play mode (notice the Exception below in the console)
Actual result: When running in the editor on Windows with the 4.x runtime, it'll throw a NullReferenceException calling into a static method on the native plugin (Native.Init() in InControl/Source/Native/Native.cs). This is the first plugin method called (during OnEnable() as I recall) so no other plugin methods get a chance to be called, but I'd assume they'd all throw exceptions.
Reproduced with: 2017.1.3p1, 2017.2.1p3, 2017.3.1p1, 2018.1.0b8, 2018.2.0a1
Note: If you switch the runtime back to the default, it will work fine, and it also works fine in builds with the experimental runtime leading me to believe it's a bug with experimental runtime in the editor.
Fixed in: 2018.1.0f1, 2018.2.0a8
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment