Search Issue Tracker
By Design
Votes
0
Found in
2017.4.0f1
2018.3.0f2
Issue ID
1130899
Regression
No
Unity Editor silently crashes when calling a function inside a C++ DLL
To reproduce:
1. Download attached project “TestNativedll.zip" and open in Unity
2. Open "SampleScene" scene
3. Enter to Play mode
Expected results: Unity Editor successfully enters to Play mode
Actual results: Unity Editor silently crashes
Notes:
- This issue appears both on Windows and macOS
- Cannot check on Standalone because Build fails with Errors which are shared in Comments section
- User attached the C++ project "Core.zip" which was used to produce the DLL
Reproduced on Unity 2017.4.0f1, 2017.4.20f2, 2018.3.7f1, 2019.1.0b5 and 2019.2.0a6
-
charleryals
Jan 19, 2020 03:34
C++ dll sometimes make unity editor crashed while working both in functional mood!I have little bit experiences with this issue, but the admin should look strong attention on this issue to make it solved.I need to have time saving editor option as I need some essay samples like https://eduzaurus.com/free-essay-samples/police-brutality/ which helps students for writing unique content on my different topics.I hope you provide enough information for facing this issue!
-
Salman86
Jun 07, 2019 06:29
I know that this is the most interesting feature of change ringtone Windows 10 mobile , if you are a
change ringtone Windows 10 mobile OS user then you also need to set change ringtone windows 10 mobile . You will http://changeringtoneinwindows10mobile.com love this post and share it with your friends.
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
- Highlighter.Highlight does not find window when using class name as window title
- Highlighter.Highlight highlights a different component when multiple components have the same property path
- Highlighter.Highlight does not find elements in an array or list when the array or list is collapsed
- [URP][NRP] RenderPass, BeginSubPass, and EndRenderPass errors are thrown when Native RenderPass is enabled
- D3D11 swapchain error pop-up appears and the Editor shuts down when Generating Lighting with Probe Volumes present
Resolution Note:
Unity does not support the use of managed C++ dlls. Mixed mode assemblies definitely won't work, and even pure C++/CLI assemblies are not tested or expected to work. Access to native code should be done via C APIs and PInvoke.