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
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
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.