View Issue Details

IDProjectCategoryView StatusLast Update
0004506Spring engineGeneralpublic2014-09-13 08:34
ReporterTurBoss Assigned TojK  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version97.0.1+git 
Target Version98.0 
Summary0004506: Some features don't render
Descriptionsome features don't render with development version and yes with stable 96.0

always the same features

i'm using featureplacer
Steps To Reproduceload the map and look in bottom right some trees are missing but the colision and volumen sphere is shown also i noticed the model is loaded but not rendered
Additional Informationi attach some screenshots and infolog inside

Map file
https://mega.co.nz/#!FQJmhJ5Y!s3RuUUbInlb6EQZ_4XIbwa3yzR1cGana0mI19tuXgLg

Screenshots and infolog
https://mega.co.nz/#!pVxFHZAS!PmsG-sa0gtfdH1YLL9hkk8DqUhdSJRfMX3WDEt6VuWs
TagsNo tags attached.
Attached Files
gdb.txt (Attachment missing)
Checked infolog.txt for Errors

Activities

abma

2014-08-20 16:15

administrator   ~0013539

indeed. the mega map download didn't work for me, but this seems to be the same map:

http://api.springfiles.com/?springname=Chinollar%200.4

abma

2014-08-20 22:36

administrator   ~0013541

partly bisected:

96.0 works
96.0.1-282-g14bd49b broken

abma

2014-08-21 23:57

administrator   ~0013549

is broken: 33e01d249c0d4faaec4e26228d4605b65f997b88 which is 96.0.1-145-g33e01d2

seems to be introduced via luasynced_split merge.

059f13cb08f9ddb579a46949da4064eddb219c1b is the last working commit = 96.0.1-141-g059f13c

abma

2014-08-22 00:31

administrator   ~0013550

what i noticed is, that with a debug build i get in a working build log messages of assimp, when i don't get the log messages in a broken build.

-> is the (invisible) model loaded at all?

TurBoss

2014-08-22 00:35

developer   ~0013551

the model is loaded and the feautre id is shown but not rendered

the model in cuestion is s3o i don't have any problems with dae ones :S

abma

2014-08-22 23:00

administrator   ~0013555

Last edited: 2014-08-22 23:01

ok, models are loaded.

the first three features which are created are invisible, no clue why.

when reordering in the list which is used by the featurecreator, always the first 3 features are not shown.

(not 100% verified, but tested a few times)

some bug in spCreateFeature() or some side-effect

abma

2014-08-22 23:08

administrator   ~0013556

more specific:

all features are invisible until a feature is loaded twice. after that every feature created is visible.

abma

2014-08-23 00:44

administrator   ~0013557

Last edited: 2014-08-23 01:03

somehow this gots lost: for the first time in CFeature::Initialize() eventHandler.FeatureCreated() doesn't call CFeatureDrawer::RenderFeatureCreated()

in other words, this:
https://github.com/spring/spring/blob/develop/rts/Sim/Features/Feature.cpp#L217

doesn't call this:
https://github.com/spring/spring/blob/develop/rts/Rendering/FeatureDrawer.cpp#L96

in the first case! (reoccuring with the same feature it works)

cleanrock

2014-08-23 09:12

reporter   ~0013558

Just tried this map in a Debug2 build and i get a Sync::Assert triggered for a Pine Tree, bt attached.
gdb 7.8 in arch is very shaky debugging MT gcc built apps atm (https://bugs.archlinux.org/task/41505) so i have a bit trouble investigating more but hopefully this will help someone.
I tried a few other maps which loaded fine so this map (chinollar) seem "special" in some way.

Issue History

Date Modified Username Field Change
2014-08-15 03:31 TurBoss New Issue
2014-08-20 16:15 abma Note Added: 0013539
2014-08-20 16:15 abma Target Version => 98.0
2014-08-20 22:36 abma Note Added: 0013541
2014-08-21 23:57 abma Note Added: 0013549
2014-08-22 00:31 abma Note Added: 0013550
2014-08-22 00:35 TurBoss Note Added: 0013551
2014-08-22 23:00 abma Note Added: 0013555
2014-08-22 23:01 abma Note Edited: 0013555
2014-08-22 23:08 abma Note Added: 0013556
2014-08-23 00:44 abma Note Added: 0013557
2014-08-23 01:03 abma Note Edited: 0013557
2014-08-23 09:12 cleanrock Note Added: 0013558
2014-08-23 09:13 cleanrock File Added: gdb.txt
2014-09-13 08:34 jK Changeset attached => spring develop dfd4fb5b
2014-09-13 08:34 jK Assigned To => jK
2014-09-13 08:34 jK Status new => resolved
2014-09-13 08:34 jK Resolution open => fixed