Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
1
Question by Agustin · Oct 18, 2010 at 08:16 PM · cachecompatibility

Caching signature not compatible between Unity2 and Unity3?

We are using the Unity's Caching product to store the downloadable content on the local disk to minimize downloading times. This has been working fine on Unity2, but when we migrated to Unity3, the Caching.Authorize function started to return false (meaning we can't use the caching feature).

Are signatures not compatible between Unity versions? Do we have to request another signature for our domain to solve this?

Comment
Add comment
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

2 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by Agustin · Oct 19, 2010 at 04:00 PM

Thanks for your reply. We look into the UnityWebPlayer logs and then we found this error:

You need to run this player from the http://bla.something.com:81 domain to be authorized to use the caching API. (currently running from bla.something.com )

Then we changed the domain from "http://bla.something.com:81/" to "bla.something.com".

Now the Caching.Authorize function just returns false without logging any errors.

It seems that there is a difference between how Unity2 and Unity3 detects the domain from where its running the player.

We will need a new signature for the modified domain to fit this new behavior.

Comment
Add comment · Show 1 · Share
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 jonas-echterhoff ♦♦ · Oct 21, 2010 at 09:30 AM 0
Share

I just checked the code. You are correct. We are now stripping port numbers of the url we verify, so people just need to authorize bla.something.com, and can then use any port on that. We had some complaints before that this didn't work.

Now, it seems that in your case, this is failing, because your authorization is actually keyed to the domain name with port number. I cannot issue new authorization keys myself, so you will have to contact sales, to get a key without the port number (feel free to refer to my explanation). Sorry for the inconvenience.

avatar image
1

Answer by jonas-echterhoff · Oct 19, 2010 at 08:49 AM

It should not have changed. When Caching.Authorize fails, you should get an error message on your console. What does it say?

Comment
Add comment · Share
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

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

No one has followed this question yet.

Related Questions

How to prepopulate Font Cache? 4 Answers

GPU texture caching 0 Answers

Unity Cache Size 1 Answer

Which one is faster? (Cache related) 1 Answer

IOS cant move file from cache path 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