Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Nathan_D · Sep 13, 2017 at 08:40 PM · sdkdelaysteam

Issues when playing my game on Steam

Hey guys,

I've recently got my game to run on Steam and I've run into a few problems that I don't see when I run the game in the editor. Strange behaviors like sprites not appearing until a few frames after they're supposed to, and singleton classes not carrying over values when loading a new scene.

One thing I definitely noticed is that I have a variable found through gameobject.Find in my Awake() class in ScriptA. This variable is needed by another Start() function on ScriptB, which by my execution order is called after ScriptA. In the editor ScriptA finds the type, which is then used by ScriptB, but on Steam this returns a null reference, as though Awake() ran too slow to find the type, which returned null when ScriptB went looking for the reference.

All this works just fine in the editor but once it's on Steam weird stuff happens to my game. Has anyone had any experience like this before? I'm using the Steam SDK 1.38a, which is not the newest version. Maybe that has something to do with it?

Any help would be greatly appreciated!

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image hexagonius · Sep 14, 2017 at 03:29 AM 1
Share

Any reason to not use the latest SD$$anonymous$$ version?

avatar image Nathan_D hexagonius · Sep 14, 2017 at 09:04 AM 0
Share

No, but in an attempt to find all potential solutions I updated the SD$$anonymous$$, but it still was not fixed. Would being connected to S$$anonymous$$m for achievements and such cause Start() functions to run 1-2 frames slower?

avatar image bobisgod234 · Sep 14, 2017 at 03:52 AM 1
Share

Does this issue appear in a regular build (non-s$$anonymous$$m, and not in the editor)?

It kind of sound like your script execution order is just not working. I myself never got the script execution order in Unity to work reliably and gave up using it. I would suggest using debug statements to check the order of your scripts is correct.

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

70 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Steam SDK for Unity 2 Answers

Steam Leaderboard delays 1 Answer

Unity to steam steamworks achivements 1 Answer

Is it possible to implement the steam controller in a non-steam game? 2 Answers

How do I implement the Steamworks SDK? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges