#1059 closed defect (fixed)
the map goes black when i order to build a wind turbine
Reported by: | Bluestone | Owned by: | beherith |
---|---|---|---|
Priority: | major | Milestone: | BAR Beta release |
Component: | BAR | Version: | |
Keywords: | Cc: |
Description (last modified by )
for about 1 sec just after i give the build order
Attachments (1)
Change History (19)
by , 7 years ago
Attachment: | screen00675.jpg added |
---|
comment:1 by , 7 years ago
comment:4 by , 7 years ago
Description: | modified (diff) |
---|
comment:5 by , 7 years ago
Owner: | set to |
---|
comment:9 by , 7 years ago
I've now had it happen with other units too - not sure quite what the trigger is.
comment:10 by , 7 years ago
It is definitely caused by the unit drawing part of inf_commands_fx. Ive spent quite a bit of time trying to debug it, short of whipping out geDebugger.
I cant find the root of the issue, even though nothing is actually drawn by the useshader portion of it. (nothing actually shows up, something may still be going on)
For now I would recommend just axing this part of the widget :(
Its wierd that corwin reproducibly triggers it, yet not many other units do so...
comment:11 by , 7 years ago
It must be something caused by interaction between the commands fx shader and the deferred rendering shader - for me disabling either of the two fixes the problem.
comment:12 by , 7 years ago
[09:53:20] <[Fx]Bluestone> i think if you can't see what's wrong, its entirely legitimate to ask kloot for help, since its his removal that means it has to be now done with a shader + seems clear that no one else knows how to do it either [09:53:52] <[Fx]Bluestone> it might well be another partly engine bug too
comment:13 by , 7 years ago
I fucking give up. Only corwin triggers it. There is no possible explanation that I can think of. Even though we arent setting the teamcolor uniforms correctly, but that is beyond the issue here.
UnitShape breaks all map rendering (with corwin!)
Important: sometimes, after a while, I cant reproduce the bug. /luaui reset always brings it back :D
comment:14 by , 7 years ago
Kloot already knew the answer - https://springrts.com/mantis/view.php?id=5184
Also, it appears to have been my fault...
comment:15 by , 7 years ago
comment:16 by , 7 years ago
Shader variable was not even localized. If I localize shader, and do a nil check before deletion, the bug returns. The shader is recreated anyway for luaui reload, it should be fine.
comment:17 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:18 by , 7 years ago
n2s, might still be an issue with option changes, which also calls UpdateEverything()
map was porky islands, which has nothing special about it afaik