# Sun Ray tech removing vision bug

**URL:** <https://forums.ageofempires.com/t/sun-ray-tech-removing-vision-bug/264426>\
**Category:** AoM - Report a Bug\
**Created:** [October 17, 2024, 1:58pm UTC](https://forums.ageofempires.com/t/sun-ray-tech-removing-vision-bug/264426 "2024-10-17T13:58:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zababoox](https://forums.ageofempires.com/user_avatar/forums.ageofempires.com/zababoox/32/178629_2.png) [@zababoox](https://forums.ageofempires.com/u/zababoox)\
**Post date:** [October 17, 2024, 1:58pm UTC](https://forums.ageofempires.com/t/sun-ray-tech-removing-vision-bug/264426/1 "2024-10-17T13:58:49Z")

</div>

- 
## Game Version: 17.36100
- 
## Build Number:
- 
## Platform: Steam
- 
## Operating System: Windows 11

> ## Issue: The Sun Ray tech from Apollo is granting vision, but also removing it

 ![image_2024-10-17_094404592](https://forums.ageofempires.com/uploads/default/original/3X/5/3/5347d2d54d2a5f670b7cf801fc5910d32abfe312.jpeg)  
Shown better with video but can’t upload it. Link to the video: [https://www.reddit.com/r/AgeofMythology/comments/1g5rhtt/sun\_ray\_tech\_removing\_vision\_bug/](https://www.reddit.com/r/AgeofMythology/comments/1g5rhtt/sun_ray_tech_removing_vision_bug/)

> ### Trigger Event:

Combat involving ranged units.

> ### Repro Steps:

1. Advance to the Heroic age through Apollo
2. Research the Sun Ray Tech
3. Have ranged units attack enemy units/buildings (probably easier to replicate with a mass amount of ranged units)  
Able to reproduce this most of the time. Only really an issue when the vision being removed hides enemies.

---

<div class="post-metadata">

**Author:** ![W4RP\_G\_CZ1](https://forums.ageofempires.com/user_avatar/forums.ageofempires.com/w4rp_g_cz1/32/163749_2.png) [@W4RP\_G\_CZ1](https://forums.ageofempires.com/u/W4RP_G_CZ1)\
**Post date:** [October 18, 2024, 7:21pm UTC](https://forums.ageofempires.com/t/sun-ray-tech-removing-vision-bug/264426/2 "2024-10-18T19:21:16Z")

</div>

oh boy thats some next level spaghetti code right here 😃 good find! hopefully devs see this
