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 /
This question was closed Sep 27, 2015 at 01:11 PM by RedDevil for the following reason:

The problem was with tiff lasers and meshes... after switching to sprites the problem did not appear again!

avatar image
0
Question by RedDevil · Apr 11, 2015 at 12:32 PM · cameracanvasprojectileshooterinvisible

2D Android Game Projectiles becoming invisible

Hi! I have been working on a 2D shooter game for a while and everything was going fine, but then i changed my game to scale with screen size and i started to have the following problem: in unity everything is working as expected but when i switch to android my projectiles are starting to go crazy.The first projectile i shoot i can see travel a little part of the screen then it dissapears and every other particle after that is invisibile.The projectile is still there as i can damage the enemy but i cannot see the projectiles.

My camera is set to orthographic projection and the canvas is set as follows: - canvas render mode screen space - camera with pixel perfect - ui scale mode - scale with screen size and screen match mode - match width or height

Please help me! Thank you

Comment
Add comment · Show 5
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 RedDevil · Apr 11, 2015 at 01:52 PM 0
Share

I noticed that sometimes if i move my player object to the corner of the screen it does show my lasers ... i keep trying but no fix as of yet...

avatar image RedDevil · Apr 11, 2015 at 06:49 PM 0
Share

so the issue has nothing to do with the camera because changing it back did not solve the issue... the enemy projectiles are particles and there is no issue with them.. but the player projectile is a mesh and something appears to be wrong...i have no idea why i have this issue all of a sudden

avatar image RedDevil · Apr 12, 2015 at 08:22 AM 0
Share

Any ideas?

avatar image RevolverOctorok · Apr 12, 2015 at 09:24 AM 0
Share

Is the projectile changing layers when it gets converted to android somehow? $$anonymous$$aybe try messing with the gameObject.layer function, forcefully put it higher up, and check if you are able to see it then.

avatar image RedDevil · Apr 12, 2015 at 06:02 PM 0
Share

i tryed doing that but it is the same... i can see the laser if i stay at the top right corner but other then that it is like something is blocking the lasers like there is something there making them invisible... but there is nothing that would influence it like that

0 Replies

  • Sort: 

Follow this Question

Answers Answers and Comments

19 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

Related Questions

How to destroy a projectile when it leaves any side of the camera view on a 2D game? 1 Answer

How to prevent image from rendering to screen but seen by camera 0 Answers

Canvas interaction on render texture to message PhysicsRaycaster 1 Answer

Trying to make a Diablo like minimap, but I am having problems. Bug? 0 Answers

Is there any way to hide only part of an object from the camera? (unity free) 2 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