应用程序崩溃
This section provides information on crashes that may occur during developing a UNIGINE plugin or application.本节提供关于在开发UNIGINE插件或应用程序时可能发生的崩溃的信息。
The information on this page is updated based on your feedback.此页面上的信息会根据您的反馈进行更新。
Crash at Developing a Plugin on Windows OS在Windows操作系统上开发插件时崩溃#
When you develop a plugin, it is a common thing that it sometimes crashes. However, Compatibility Administrator on Windows may decide to fix this issue on its own and set a flag not to load the plugin. In this case the plugin may crash regardless of the logic. Hot reload will also be impossible, because the plugin is not released.当你开发一个插件时,它有时崩溃是很常见的事情。但是,Windows上的 Compatibility Administrator可能决定自行修复此问题,并设置不加载该插件的标志。在这种情况下,不管使用什么逻辑,插件都可能崩溃。热重载也将是不可能的,因为插件没有释放。
To fix this issue, you need to open the Registry Editor and check the settings stored at Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers. Delete any data related to your plugin.要修复此问题,您需要打开注册表编辑器并检查存储在Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers的设置。删除与插件相关的所有数据。