steamworks is not initialized что делать
Steamworks is not initialized что делать
I play a large number of games on steam, but for some reason two of them, ‘adventure manager’ and ‘ idlying to rule the gods’ both do not run properly, or record achievements, or anything of the sort. The only thing I can find in common is this error:
InvalidOperationException: Steamworks is not initialized.
Now the games work just fine for everyone else, so i’m at a loss as to why others would be getting this issue as well.
I’m on a windows XP SP3 machine with 2gb ram, both games have been testing on an XP virtual machine by the devs and had it work just fine, so i’m very stumped.
I know I have found it very strange as well. I honestly cannot explain why would cause a machine to do a reset in that fashion.
As far as I know I am not on the beta, how would I check?
Steam is on my external drive, yes. All of my steam games are also located on the external drive.
The external currently has 874gb free.
And I do appreciate the help, it has been a very long and stressful day in RL before coming home to work on this issue, so I have not been.. the friendliest of people.
This is not a valid save is a game error message.
I understand. Let me offer my apologies to you from my part of the friction we had before. I am sorry about that, and am happy to try to help you here if I can.
Here is the deal. Maybe you have had that configuration for a long time and not had any issues at all, but Steam recommends to not install games on external drives.
«It is not recommended that you install Steam to an external hard drive due to potential performance issues.»
You have quite a few games installed there. more than I personally have ever seen, so suggesting for you to move your Steam installation at this point may not be very agreeable with you and we can still try other things here instead. Just wanted to pass that official information on to you and that is why I was asking specifically about the external drives.
Now, please do this..
We have done several steps here to try to get you fixed up. Please go to your library and launch Idlying to Rule the Gods and just try to start a brand new single player game. If you can play the game for a minute or two, try to make a fresh and brand new save file. Exit the game as you normally would after making that save ( I don’t know how saves are made for that game so my suggestion here may not be valid).
Fully exit the game as you normally would, taking note as to exactly what you see happend as you do (hangs, crashes, error messages, etc.). After that, try to launch the game again using the «play» button and not any shortcut that you may have and try to load that new, fresh save that you just created. See what happens there now.
Be sure you are not using any shortcuts if you do that. Only launch it from the Steam library.
Go to Steam in the top left of the client and then «settings» and then «account». Make sure you are not using the Beta there in that new window.
EDIT. If you have not yet, try to disable the overlay in these games as well. That is worth a shot.
I loaded the game, created a character, save dthe game a few seconds in, went to quit. The game hung. I clicked on it’s picture on the task bar, told it to close, not responding. Opened it, had to start a new game, tried to load file, said it was an invalid file. though I think the loading of a file is.. actually borking. Instead of loading manualsave.txt the output load says it’s trying to load manualsave.txt.txt o.O
Here is the full log file it is giving me:
Initialize engine version: 5.3.4f1 (fdbb5133b820)
GfxDevice: creating device client; threaded=1
d3d11: no D3D11 installed
GfxDevice: creating device client; threaded=1
Direct3D:
Version: Direct3D 9.0c [nv4_disp.dll 6.14.13.783]
Renderer: NVIDIA GeForce 6200
Vendor: NVIDIA
VRAM: 512 MB (via registry)
Caps: Shader=30 DepthRT=1 NativeDepth=0 NativeShadow=1 DF16=0 INTZ=0 NULL=1 RESZ=0 SlowINTZ=0
Begin MonoManager ReloadAssembly
Platform assembly: E:\SteamLibrary\steamapps\common\Idling to Rule the Gods\itrtg_Data\Managed\UnityEngine.dll (this message is harmless)
Loading E:\SteamLibrary\steamapps\common\Idling to Rule the Gods\itrtg_Data\Managed\UnityEngine.dll into Unity Child Domain
Platform assembly: E:\SteamLibrary\steamapps\common\Idling to Rule the Gods\itrtg_Data\Managed\Assembly-CSharp-firstpass.dll (this message is harmless)
Loading E:\SteamLibrary\steamapps\common\Idling to Rule the Gods\itrtg_Data\Managed\Assembly-CSharp-firstpass.dll into Unity Child Domain
Platform assembly: E:\SteamLibrary\steamapps\common\Idling to Rule the Gods\itrtg_Data\Managed\Assembly-CSharp.dll (this message is harmless)
Loading E:\SteamLibrary\steamapps\common\Idling to Rule the Gods\itrtg_Data\Managed\Assembly-CSharp.dll into Unity Child Domain
Platform assembly: E:\SteamLibrary\steamapps\common\Idling to Rule the Gods\itrtg_Data\Managed\UnityEngine.UI.dll (this message is harmless)
Loading E:\SteamLibrary\steamapps\common\Idling to Rule the Gods\itrtg_Data\Managed\UnityEngine.UI.dll into Unity Child Domain
Platform assembly: E:\SteamLibrary\steamapps\common\Idling to Rule the Gods\itrtg_Data\Managed\UnityEngine.Networking.dll (this message is harmless)
Loading E:\SteamLibrary\steamapps\common\Idling to Rule the Gods\itrtg_Data\Managed\UnityEngine.Networking.dll into Unity Child Domain
Platform assembly: E:\SteamLibrary\steamapps\common\Idling to Rule the Gods\itrtg_Data\Managed\yIRC.dll (this message is harmless)
Loading E:\SteamLibrary\steamapps\common\Idling to Rule the Gods\itrtg_Data\Managed\yIRC.dll into Unity Child Domain
— Completed reload, in 0.396 seconds
Platform assembly: E:\SteamLibrary\steamapps\common\Idling to Rule the Gods\itrtg_Data\Managed\System.Core.dll (this message is harmless)
Platform assembly: E:\SteamLibrary\steamapps\common\Idling to Rule the Gods\itrtg_Data\Managed\System.dll (this message is harmless)
Initializing input.
desktop: 1600×900 60Hz; virtual: 1600×900 at 0,0
UnloadTime: 33.853745 ms
Creation.FromString with empty value!
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)
Creation.FromString with empty value!
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)
at Assets.Scripts.Data.GameState.get_PhysicalPower () [0x00000] in :0
at Assets.Scripts.Data.GameState.get_MaxHealth () [0x00000] in :0
at Assets.Scripts.Data.GameState.get_CurrentHealth () [0x00000] in :0
at Assets.Scripts.Data.GameState.Serialize () [0x00000] in :0
at Assets.Scripts.Save.Storage.SaveGameState (Assets.Scripts.Data.GameState state, System.String filename) [0x00000] in :0
at Assets.Scripts.Save.Storage.LoadGameState (System.String filename) [0x00000] in :0
at Assets.Scripts.Data.App.LoadGameState () [0x00000] in :0
Bad exception on loading the game! Should not happen.
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)
Unloading 6 Unused Serialized files (Serialized files now loaded: 0)
UnloadTime: 0.617117 ms
ExecutionEngineException: SIGILL
at (wrapper managed-to-native) Steamworks.NativeMethods:SteamAPI_InitSafe ()
at Steamworks.SteamAPI.Init () [0x00000] in :0
at SteamManager.Awake () [0x00000] in :0
UnityEngine.GameObject:Internal_AddComponentWithType(Type)
UnityEngine.GameObject:AddComponent(Type)
UnityEngine.GameObject:AddComponent()
SteamManager:get_Instance()
SteamManager:get_Initialized()
Assets.Scripts.Helper.SteamHelper:OnEnable()
Unloading 7 unused Assets to reduce memory usage. Loaded Objects now: 481.
Total: 11.196115 ms (FindLiveObjects: 0.083530 ms CreateObjectMapping: 0.074590 ms MarkObjects: 10.998325 ms DeleteObjects: 0.028774 ms)
Steamworks is not initialized when calling SteamGameServer.InitGameServer() #169
Comments
SemihParlayan commented Jun 2, 2017
If I understand it correctly I need to have a game server when trying to create a game using P2P. When I try to initialize a game server using «SteamGameServer.InitGameServer(. )» I get this error:
InvalidOperationException: Steamworks is not initialized.
Steamworks.InteropHelp.TestIfAvailableGameServer () (at Assets/Plugins/Steamworks.NET/InteropHelp.cs:31)
Steamworks.SteamGameServer.InitGameServer (UInt32 unIP, UInt16 usGamePort, UInt16 usQueryPort, UInt32 unFlags, AppId_t nGameAppId, System.String pchVersionString) (at Assets/Plugins/Steamworks.NET/autogen/isteamgameserver.cs:21)
I’ve googled around and I have not found any solution to the problem. What am I doing wrong?
I’m making sure to check that the SteamManager is initialized properly before trying to create a game server. I can access my persona name and even send P2P packages correctly, it seems like Steamworks should be initialized but I do get this error anyway.
The text was updated successfully, but these errors were encountered:
rlabrecque commented Jun 3, 2017
Hey @SemihParlayan, I don’t think that specific function should actually even be exposed in the API, I’m pretty sure you’re supposed to call GameServer.Init() which calls that internally after setting some stuff up. Try that out and let me know how it goes.
SemihParlayan commented Jun 7, 2017 •
OnP2PSessionRequestCallback;
private CallResult
I have set them up in my OnEnable method like this:
OnP2PSessionRequestCallback=CallResult
I have managed to get other callbacks such as creating and entering a lobby. But with those I assigned a handle to the callback. Like this:
SteamAPICall_t handle = SteamMatchmaking.CreateLobby(ELobbyType.k_ELobbyTypeFriendsOnly, 4);
OnLobbyCreatedCallback.Set(handle);
What am I missing?
When is the P2P callbacks actually supposed to be triggered? I’m sending a reliable p2p package in hope for the callback to trigger.
Do I need to set a handle for the P2P callbacks aswell and if so, how?
EDIT: Should I ever use something from SteamGameServer class? Because there is a method called AcceptP2PSessionWithUser both in SteamNetworking and in SteamGameServerNetworking. Which one should I use.
Thanks in advance!
yaakov-h commented Jun 7, 2017
SemihParlayan commented Jun 7, 2017
@yaakov-h I can’t seem to find the method you are describing.
yaakov-h commented Jun 7, 2017
SemihParlayan commented Jun 7, 2017
@yaakov-h What is the difference between Callback and CallResult?
rlabrecque commented Jun 7, 2017
Callbacks are global event sinks that will get called EVERY time that callback is sent, while CallResults are function specific handlers which only get called after you specifically associate the handler function with the SteamAPICall_t. If a function returns a SteamAPICall_t then it NEEDs a CallResult, otherwise it needs to be a callback, specifically P2PSessionRequest_t and friends are only callbacks, because you’re not waiting for a function to return.
All of this should be a little clearer in about a week. 🙂
SemihParlayan commented Jun 7, 2017
Thank you for your answer, I do have some followup questions though.
rlabrecque commented Jun 8, 2017
You can have the owner of the lobby act as the host, and everyone would send packets right to them using the P2P Networking.
Something sort of like that, or at least information that might make it easier to use this stuff. 👍
SemihParlayan commented Jun 8, 2017 •
I’m not sure how to mark this as solved but you can mark this as solved if possible 👍
rlabrecque commented Jun 13, 2017
Hopefully it helps out a little!
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Как исправить ошибку [failed to initialize Steam]
Сообщение «failed to initialize Steam» часто появляется при запуске PUBG, CS GO, GTA 5 и других игр. Распространенные причины:
Расскажем о четырех способах решения проблемы.
Способ 1. Перезапустите Steam
Простой перезапуск Steam решает проблему в 50% случаев. Кликните по значку программы в системном трее и выберите «Выход».
Затем заново откройте клиент. После старта он может начать скачивать файлы обновлений – это нормально. Дождитесь окончания процесса и пробуйте запустить игру.
Если это не помогло, перезагрузите компьютер, и попробуйте запустить игру снова.
Способ 2. Войдите в Steam с правами администратора
Кликните правой кнопкой мыши по значку программы и выберите команду «Запуск от имени администратора».
Попробуйте поиграть. Если проблема решилась, можно сделать так, чтобы Steam работал с правами администратора всегда. Перейдите в папку с программой, кликните правой кнопкой мыши по файлу Steam.exe и выберите «Свойства». Затем перейдите в раздел «Совместимость», отметьте пункт «Запускать эту программу от имени администратора» и нажмите «Применить».
Способ 3. Проверьте файлы – не повреждены ли они
Откройте библиотеку в клиенте Steam, кликните правой кнопкой мыши по названию неработающей игры и выберите «Свойства».
В появившемся окне откройте раздел «Локальные файлы» и кликните по кнопке «Проверить целостность файлов…».
Дождитесь окончания проверки. Программа заменит поврежденные файлы автоматически, если такие будут обнаружены. Перезагружать компьютер после этого не обязательно.
Способ 4. Переустановите игру
Если предыдущие способы не помогли, попробуйте переустановить игру. Кликните по ее названию в библиотеке правой кнопкой мыши и выберите «Удалить».
В следующем окне нажмите «Удалить» еще раз. Дождитесь окончания процесса деинсталляции, затем перезагрузите компьютер. После этого установите игру снова и попробуйте ее запустить.
Также вы можете переустановить требуемые библиотеки и компоненты самостоятельно. Их инсталляторы хранятся в папке с игрой (…\Steam\steamapps\common\название_игры). Зайдите в эту папку и установите их по очереди.
Steamworks is not initialized что делать
I play a large number of games on steam, but for some reason two of them, ‘adventure manager’ and ‘ idlying to rule the gods’ both do not run properly, or record achievements, or anything of the sort. The only thing I can find in common is this error:
InvalidOperationException: Steamworks is not initialized.
Now the games work just fine for everyone else, so i’m at a loss as to why others would be getting this issue as well.
I’m on a windows XP SP3 machine with 2gb ram, both games have been testing on an XP virtual machine by the devs and had it work just fine, so i’m very stumped.
You later said after your game forum post that you only have 2 GB of RAM as well as here in the OP and the game Idlying to Rule the Gods needs 1 minimum.
In the case of adventure manager the game will run but when i go to close the game it hangs, i have to kill it under the process manager. Also achievements do not work.
In the case of Idle to Rule the Gods, it does not save my progress. If I restart the game I have to start from scratch, it will not load saved progress. When I close the game it hangs, and needs to be killed under the process manager. I have not gotten far enough to test if achievements work or not in that game.
In addition if I tell it to save my progress online it says I must be logged into steam to use this feature.. which I am logged in.
In the case of adventure manager the game will run but when i go to close the game it hangs, i have to kill it under the process manager. Also achievements do not work.
In the case of Idle to Rule the Gods, it does not save my progress. If I restart the game I have to start from scratch, it will not load saved progress. When I close the game it hangs, and needs to be killed under the process manager. I have not gotten far enough to test if achievements work or not in that game.
Try disabling background applications so to limit resources being used by other processes on the computer.
After doing both steps above, make SURE you verify the game files for both games before you test them. Do that exactly as stated here.
Steamworks is not initialized что делать
OneShot
And I cant exit the game
And I cant exit the game
Are you on the title screen? Also f8 is the key for fullscreen, not f4.
Mine still isn’t working and I keep getting Failed to initialize steamworks
Yes and it’s stillnot working I just wanna play oneshot man.
Yes and it’s stillnot working I just wanna play oneshot man.
Same here man. I even restarted my computer but nothing helps.
Same here man. I even restarted my computer but nothing helps.
Please describe to me the steps by which you’ve restarted Steam.
Please describe to me the steps by which you’ve restarted Steam.
First, I logged out by clicking Steam>Exit, after that didn’t work, I just closed steam with «X» and closed from the «hidden icons» menu (I checked and after that I needed to log back in). That didn’t help either. In last ditch effort I repeated the last step as to be logged out and the restarted my computer, then logged back into steam, but it still didn’t work. I have no idea if that was just me being stupid or if there’s something more to this bug, but alas, after almost two weeks of repeating the same steps daily the problem just seemed to fix itself and now I can play normaly.