• 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
3
Question by filler03 · Jun 05, 2015 at 09:57 PM · iosscreenshotapple

How do i get screenshots for apple submission?

Apple requires one screenshot of each size in order for it to be submitted, and these must be retina display so my screen is not bog enough to capture them. I do not have 5 different ios devices available to me. Is there a way i can aquire these screenshots some other way?

Thank you in advance!

Comment
Add comment · Show 2
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 alexandre-fiset · Jun 05, 2015 at 10:06 PM 1
Share

Yes.

I made a screenshot tool to tackle the issue. Here's a script that, if attached to your main camera, let you grab a screenshot at any resolution you want. Here's how it works:

If set at "2", the "resolution$$anonymous$$odifier" parameter will grab a screenshot at twice the resolution you have in the editor. Ex: Retina is 2048x1536, so set your editor as 1024x768 and grab your screen with a modifier of 2 and you are all set.

To grab a screenshot, press play and press "P" or any other button you have set in "$$anonymous$$eyToPress".

The screenshot will go into a folder called "Screenshot" next to the asset folder of your project.

 using UnityEngine;
 using System.Collections;
 using System;
 
 public class prbScreenshot : $$anonymous$$onoBehaviour {
 
     public string keyToPress = "p";
     public int resolution$$anonymous$$odifier = 1;
     public string prefix = "ss";
     int id;
     bool take = false;
 
     void Start () 
     {
         if (!System.IO.Directory.Exists(Application.dataPath + "/../Screenshots"))
             System.IO.Directory.CreateDirectory (Application.dataPath + "/../Screenshots");
     }
 
     void Update ()
     {
         if (Input.Get$$anonymous$$eyUp (keyToPress)) 
         {
             take = true;
       
         }
     }
     
 
     void OnPostRender () {
 
         if (take) 
         {
             string dateTime =     DateTime.Now.$$anonymous$$onth.ToString()+ "-" + 
                 DateTime.Now.Day.ToString() + "_" + 
                     DateTime.Now.Hour.ToString() + "-" + 
                     DateTime.Now.$$anonymous$$inute.ToString() + "-" + 
                     DateTime.Now.Second.ToString();
             string filename = prefix + id.ToString() + "_" + dateTime + ".png";
             Application.CaptureScreenshot((Application.dataPath + "/../Screenshots/" + filename), resolution$$anonymous$$odifier);
             id++;
             take = false;
         }
     }
 }

avatar image psykojello2 · Aug 01, 2015 at 07:17 AM 0
Share

@alexandre.fiset that code was pretty useful, you should submit it as an answer. I just changed OnPostRender to a custom function called TakeScreenshot() and called it after take=true in Update().

3 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Naphier · Jun 06, 2015 at 05:24 AM

I made a low-cost Unity plugin for this. It's very comprehensive: you can add whatever sizes you need, it has a callback so that you can adjust positions of elements on screen if you need, it uses render to texture if you have it available (Unity 5 or newer or Unity Pro), or otherwise it uses bilinear scaling. Super easy to use!

https://www.assetstore.unity3d.com/en/#!/content/38736

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
avatar image
0

Answer by Eno-Khaon · Jun 05, 2015 at 10:01 PM

You could always try faking it. Application.CaptureScreenshot() gives the option to increase the effective resolution by set amounts, so if you set the Unity window to a specific fraction of that, then take a screenshot from there, you'll have a high-resolution screenshot.

Alternatively, I would imagine you can force the game to run at a greater resolution than your monitor can display and get a screenshot anyway, but I'm afraid I don't know the ins and outs of Apple.

Edit: This general question has also come up here, among other places, so there are always more solutions than what I offered.

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 psykojello2 · Aug 01, 2015 at 06:59 AM 0
Share

You could probably use the Supersize parameter of the CaptureScreenshot() to get screenshots at a higher resolution than your monitor can display.

avatar image
0

Answer by educaPix · Apr 18, 2016 at 01:30 PM

I have created a full solution for this problem: Multi Screenshots Suite

Main Features:

  • 1-click to take all screenshots (all resolutions & languages).

  • 1-click to insert them into the corresponding device (iPhone, iPad,...) with custom background, title, subtitle,...

Full features and video here: https://www.assetstore.unity3d.com/en/#!/content/59542

I hope you find it useful!

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

25 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

Related Questions

Strange error uploading screenshots to iTunes Connect 0 Answers

Screenshot resolution for the App Store 1 Answer

Is it allowed in apple to login with external login? 0 Answers

Not able to receive notifications in all devices 0 Answers

Are PlayerPrefs backed up to iCloud? 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