Search Issue Tracker
Won't Fix
Votes
1
Found in
2017.4.3f1
Issue ID
1041530
Regression
No
UnityPluginUnload is never called in a standalone build
To reproduce:
1. Open the GfxPlugin project in Visual Studio and PluginUnload project in Unity
2. In VS, go to Debug -> test properties and change Executable and Working Directory paths to the appropriate ones
({download_path}\case_1041530-PluginUnloadRepro\Build\Win32\test.exe and
{download_path}\case_1041530-PluginUnloadRepro\Build\Win32 respectively)
3. In the GfxPluginRepro.cpp file, place breakpoints on lines 9 and 14
4. In VS, press F5
5. Observe that UnityPluginLoad is called, but after exiting the application, UnityPluginUnload isn't called
Expected: UnityPluginUnload is called in a standalone build
Reproduced in 2017.1.4p2, 2017.2.3p2, 2017.3.2f1, 2017.4.3f1, 2017.4.5f1, 2018.1.7f1, 2018.2.0b11, 2018.3.0a3
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
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
- White lighting artifact when a point light with a small emission range and "Hard Shadows" touches an object while a directional light with "Soft Shadows" and another point light are present
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.