View Issue Details

IDProjectCategoryLast Update
0019789AI War 2Graphical BugJul 20, 2018 10:23 am
ReporterRocketAssistedPuffin Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version0.750 My Friend The Marauder 
Fixed in Version0.754 Shifting That Furniture 
Summary0019789: Multiple forcefields causing some to appear inactive
DescriptionFound this while trying to make a Shieldbearer unit, but even normal forcefields cause it, with none of this unit existing.

Image attached has three forcefields, but only two appear active.

EDIT: Cleaned my game up of my meddling, bug is still there exact same.
TagsNo tags attached.

Activities

RocketAssistedPuffin

Jul 17, 2018 9:00 pm

reporter  

20180718015750_1.jpg (381,951 bytes)

Ovalcircle

Jul 18, 2018 12:00 am

reporter   ~0047914

I think I saw this the other day, but units were firing at it, so I wasn't sure. I think moving the camera closer or farther away made it appear again, but if I went back to the original zoom level, it would disappear. Eventually it visually came back once the forcefield decreased in size.

RocketAssistedPuffin

Jul 18, 2018 6:44 am

reporter   ~0047915

Yes, I got that too. Camera movement affects which ones are active.

Chris_McElligottPark

Jul 19, 2018 3:55 pm

administrator   ~0047945

I've made a lot of adjustments to these in the next version. Please let me know if you see these in 0.751 or higher. If so, a savegame would be appreciated.

Thanks!

RocketAssistedPuffin

Jul 19, 2018 6:41 pm

reporter   ~0047969

Bug still here, but it seems to be...better, when you have a *lot* of them (such as in my Ghetto Shieldbearer pictures; those are just fighters with low granularity and given shield defenses instead. Before this update you'd only get about two, three appearing, now you get a lot more). However, as in the original image, managed to get 1 out of 3 normal forcefields to break. Pictures and save attached.
ShieldVisualTest1.png (1,572,350 bytes)
ShieldVisualTest2.png (1,443,234 bytes)
ShieldVisualBug.save (4,507,543 bytes)

Chris_McElligottPark

Jul 20, 2018 10:23 am

administrator   ~0047985

Thanks!

* Fixed an issue where some would blink out of existence at various camera angles if you had multiple forcefields on one planet. This had to do with the GPU instancing being enabled on them, and something in the culling and instancing logic (these use MeshRenderers, not DrawMeshInstanced) going bonkers. There are few enough of these, and they need to be z-sorted anyhow, so we just disabled instancing and they each take one draw call.
** This is a reminder not to have dozens and dozens of shields on one planet in this game; shieldbearers were always a kludge in the first game, but they're EXPENSIVE on the GPU as well as CPU calculations (for collisions, etc). When there are a dozen or less or so, the expense is pretty minimal, but having 100 would be a bad idea, in short.

Issue History

Date Modified Username Field Change
Jul 17, 2018 9:00 pm RocketAssistedPuffin New Issue
Jul 17, 2018 9:00 pm RocketAssistedPuffin File Added: 20180718015750_1.jpg
Jul 17, 2018 9:05 pm RocketAssistedPuffin Description Updated
Jul 18, 2018 12:00 am Ovalcircle Note Added: 0047914
Jul 18, 2018 6:44 am RocketAssistedPuffin Note Added: 0047915
Jul 19, 2018 3:55 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Jul 19, 2018 3:55 pm Chris_McElligottPark Status new => feedback
Jul 19, 2018 3:55 pm Chris_McElligottPark Note Added: 0047945
Jul 19, 2018 6:41 pm RocketAssistedPuffin File Added: ShieldVisualTest1.png
Jul 19, 2018 6:41 pm RocketAssistedPuffin File Added: ShieldVisualTest2.png
Jul 19, 2018 6:41 pm RocketAssistedPuffin File Added: ShieldVisualBug.save
Jul 19, 2018 6:41 pm RocketAssistedPuffin File Added: ShieldVisualBug.savemet
Jul 19, 2018 6:41 pm RocketAssistedPuffin Note Added: 0047969
Jul 19, 2018 6:41 pm RocketAssistedPuffin Status feedback => assigned
Jul 20, 2018 10:23 am Chris_McElligottPark Status assigned => resolved
Jul 20, 2018 10:23 am Chris_McElligottPark Resolution open => fixed
Jul 20, 2018 10:23 am Chris_McElligottPark Fixed in Version => 0.754 Shifting That Furniture
Jul 20, 2018 10:23 am Chris_McElligottPark Note Added: 0047985