<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Unloading a locked resource error message after exiting game in Stingray Forum (Read Only)</title>
    <link>https://forums.autodesk.com/t5/stingray-forum-read-only/unloading-a-locked-resource-error-message-after-exiting-game/m-p/7032304#M8635</link>
    <description>&lt;P&gt;Hi guys,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm getting a red warning message in the log console when i exit/quit my application/game. It says:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;localhost / General: Unloading a locked resource content/models/BUILDING B1/geometry/STINGRAY - Atc Sq PLAYER_HEAD&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which is one of my units that i have in the game.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It provides further messages as well:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;localhost / General: Unloading a locked resource content/models/BUILDING B1/geometry/STINGRAY - Atc Sq PLAYER_HEAD

At `D:\BuildAgent\work\a\git_work\runtime\foundation\resource\resource_manager.cpp:905`

Build identifier: `1502557725a12fd25adb4f77a6d72045339e12bd`

Product version: `Release (1.8.1267.0)`

Thread name: `main`

Error context
----------------------------------------

    unloading content/models/BUILDING B1/geometry/STINGRAY - Atc Sq PLAYER_HEAD

Callstack
----------------------------------------

    0x406cc3ba d:\buildagent\work\a\git_work\runtime\foundation\error\error.cpp(265): `anonymous namespace'::report_crash_internal
    0x406cbd70 d:\buildagent\work\a\git_work\runtime\foundation\error\error.cpp(419): stingray::report_assert_failure
    0x407526a1 d:\buildagent\work\a\git_work\runtime\foundation\resource\resource_manager.cpp(526): stingray::ResourceManager::unload
    0x40736249 d:\buildagent\work\a\git_work\runtime\foundation\resource\resource_package.cpp(269): stingray::ResourcePackage::unload
    0x407677d1 d:\buildagent\work\a\git_work\runtime\foundation\resource\patched_resource_package.cpp(134): stingray::PatchedResourcePackage::unload
    0x404dbee5 d:\buildagent\work\a\git_work\runtime\application\script\interface\if_utility.cpp(93): ::
    0xde9adcee lua_newstate
    0xde96456d lua_pcall
    0x402479f9 d:\buildagent\work\a\git_work\runtime\application\script\lua_environment.cpp(687): stingray::LuaEnvironment::call
    0x40247cab d:\buildagent\work\a\git_work\runtime\application\script\lua_environment.cpp(1039): stingray::LuaEnvironment::call_global
    0x407e847c d:\buildagent\work\a\git_work\runtime\game\game.cpp(140): `anonymous namespace'::MyGame::~MyGame
    0x407e9344 `anonymous namespace'::MyGame::`scalar deleting destructor'
    0x40230e75 d:\buildagent\work\a\git_work\runtime\application\application.cpp(2574): stingray::Application::shutdown
    0x40220887 d:\buildagent\work\a\git_work\runtime\application\application.cpp(392): stingray::Application::~Application
    0x400f22c4 d:\buildagent\work\a\git_work\runtime\main\common\actions.cpp(223): stingray::run_application
    0x400d5913 d:\buildagent\work\a\git_work\runtime\main\windows\main.cpp(53): run
    0x400d5989 d:\buildagent\work\a\git_work\runtime\main\windows\main.cpp(71): safe_run
    0x400d5af8 d:\buildagent\work\a\git_work\runtime\main\windows\main.cpp(106): WinMain
    0x40a18aeb f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl(253): __scrt_common_main_seh
    0x775359cd BaseThreadInitThunk

System Information
----------------------------------------

    --- CPU
    CPU:        Intel(R) Xeon(R) CPU E5-2680 0 @ 2.70GHz
    Vendor: GenuineIntel
    Logical processors: 16
    Family: 0:6, Model: 2:13
    Type: 0, Stepping: 7
    Features: SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2
    Feature bits:
    EBX: 00000100 00100000 00001000 00000000 
    ECX: 00011111 10111110 11100011 11111111 
    EDX: 10111111 11101011 11111011 11111111 
    --- OS
    Windows version 6.1 build 7601, SP1.0
    Windows 7, Service Pack 1
    --- Graphics
    Graphics card: NVIDIA GeForce GTX TITAN Black (DirectX 11.0)
    --- Sound
    No sound card detected.
    --- Network
    Network interface: Intel(R) 82579LM Gigabit Network Connection (IPv4, IPv6)
    Network interface: Microsoft ISATAP Adapter #2 (IPv6)
    Network interface: Microsoft Teredo Tunneling Adapter (IPv6)
    --- Input
    Input device: Mouse (18.1): Mouse
    Input device: Keyboard (19.4): Keyboard

Lua Stack
----------------------------------------

    [0] [C]: in function unload
    [1] core/appkit/lua/simple_project.lua:352: in function destroy_loading_screen
    [2] core/appkit/lua/simple_project.lua:416:in function 

Lua Locals
----------------------------------------

    [1] package = [ResourcePackage]
    [2] extension_project = table: 0000000076CC0DD0, world = [World], level = [Level]&lt;/PRE&gt;
&lt;P&gt;Does anyone have any idea why this is?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 21 Apr 2017 08:19:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-04-21T08:19:42Z</dc:date>
    <item>
      <title>Unloading a locked resource error message after exiting game</title>
      <link>https://forums.autodesk.com/t5/stingray-forum-read-only/unloading-a-locked-resource-error-message-after-exiting-game/m-p/7032304#M8635</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm getting a red warning message in the log console when i exit/quit my application/game. It says:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;localhost / General: Unloading a locked resource content/models/BUILDING B1/geometry/STINGRAY - Atc Sq PLAYER_HEAD&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which is one of my units that i have in the game.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It provides further messages as well:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;localhost / General: Unloading a locked resource content/models/BUILDING B1/geometry/STINGRAY - Atc Sq PLAYER_HEAD

At `D:\BuildAgent\work\a\git_work\runtime\foundation\resource\resource_manager.cpp:905`

Build identifier: `1502557725a12fd25adb4f77a6d72045339e12bd`

Product version: `Release (1.8.1267.0)`

Thread name: `main`

Error context
----------------------------------------

    unloading content/models/BUILDING B1/geometry/STINGRAY - Atc Sq PLAYER_HEAD

Callstack
----------------------------------------

    0x406cc3ba d:\buildagent\work\a\git_work\runtime\foundation\error\error.cpp(265): `anonymous namespace'::report_crash_internal
    0x406cbd70 d:\buildagent\work\a\git_work\runtime\foundation\error\error.cpp(419): stingray::report_assert_failure
    0x407526a1 d:\buildagent\work\a\git_work\runtime\foundation\resource\resource_manager.cpp(526): stingray::ResourceManager::unload
    0x40736249 d:\buildagent\work\a\git_work\runtime\foundation\resource\resource_package.cpp(269): stingray::ResourcePackage::unload
    0x407677d1 d:\buildagent\work\a\git_work\runtime\foundation\resource\patched_resource_package.cpp(134): stingray::PatchedResourcePackage::unload
    0x404dbee5 d:\buildagent\work\a\git_work\runtime\application\script\interface\if_utility.cpp(93): ::
    0xde9adcee lua_newstate
    0xde96456d lua_pcall
    0x402479f9 d:\buildagent\work\a\git_work\runtime\application\script\lua_environment.cpp(687): stingray::LuaEnvironment::call
    0x40247cab d:\buildagent\work\a\git_work\runtime\application\script\lua_environment.cpp(1039): stingray::LuaEnvironment::call_global
    0x407e847c d:\buildagent\work\a\git_work\runtime\game\game.cpp(140): `anonymous namespace'::MyGame::~MyGame
    0x407e9344 `anonymous namespace'::MyGame::`scalar deleting destructor'
    0x40230e75 d:\buildagent\work\a\git_work\runtime\application\application.cpp(2574): stingray::Application::shutdown
    0x40220887 d:\buildagent\work\a\git_work\runtime\application\application.cpp(392): stingray::Application::~Application
    0x400f22c4 d:\buildagent\work\a\git_work\runtime\main\common\actions.cpp(223): stingray::run_application
    0x400d5913 d:\buildagent\work\a\git_work\runtime\main\windows\main.cpp(53): run
    0x400d5989 d:\buildagent\work\a\git_work\runtime\main\windows\main.cpp(71): safe_run
    0x400d5af8 d:\buildagent\work\a\git_work\runtime\main\windows\main.cpp(106): WinMain
    0x40a18aeb f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl(253): __scrt_common_main_seh
    0x775359cd BaseThreadInitThunk

System Information
----------------------------------------

    --- CPU
    CPU:        Intel(R) Xeon(R) CPU E5-2680 0 @ 2.70GHz
    Vendor: GenuineIntel
    Logical processors: 16
    Family: 0:6, Model: 2:13
    Type: 0, Stepping: 7
    Features: SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2
    Feature bits:
    EBX: 00000100 00100000 00001000 00000000 
    ECX: 00011111 10111110 11100011 11111111 
    EDX: 10111111 11101011 11111011 11111111 
    --- OS
    Windows version 6.1 build 7601, SP1.0
    Windows 7, Service Pack 1
    --- Graphics
    Graphics card: NVIDIA GeForce GTX TITAN Black (DirectX 11.0)
    --- Sound
    No sound card detected.
    --- Network
    Network interface: Intel(R) 82579LM Gigabit Network Connection (IPv4, IPv6)
    Network interface: Microsoft ISATAP Adapter #2 (IPv6)
    Network interface: Microsoft Teredo Tunneling Adapter (IPv6)
    --- Input
    Input device: Mouse (18.1): Mouse
    Input device: Keyboard (19.4): Keyboard

Lua Stack
----------------------------------------

    [0] [C]: in function unload
    [1] core/appkit/lua/simple_project.lua:352: in function destroy_loading_screen
    [2] core/appkit/lua/simple_project.lua:416:in function 

Lua Locals
----------------------------------------

    [1] package = [ResourcePackage]
    [2] extension_project = table: 0000000076CC0DD0, world = [World], level = [Level]&lt;/PRE&gt;
&lt;P&gt;Does anyone have any idea why this is?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 21 Apr 2017 08:19:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/stingray-forum-read-only/unloading-a-locked-resource-error-message-after-exiting-game/m-p/7032304#M8635</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-21T08:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: Unloading a locked resource error message after exiting game</title>
      <link>https://forums.autodesk.com/t5/stingray-forum-read-only/unloading-a-locked-resource-error-message-after-exiting-game/m-p/7042799#M8689</link>
      <description>&lt;P&gt;It seems this is somehow linked to the new splash screen feature in stingray 1.8. I've followed the help docs and got it all working and this error only appears on projects i've linked up to the splash screen.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So i'm now getting this error on different projects as well, pointing to different units each time.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Has anyone got any ideas? I can provide my loading screen scripts if that helps!&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2017 07:52:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/stingray-forum-read-only/unloading-a-locked-resource-error-message-after-exiting-game/m-p/7042799#M8689</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-26T07:52:27Z</dc:date>
    </item>
  </channel>
</rss>

