www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: LemonLake on October 04, 2013, 08:24:22 pm

Title: world.removeObject(Object3D) crash
Post by: LemonLake on October 04, 2013, 08:24:22 pm
I have a bunch of tiles in my world (a 16x16 array for now, but only a circle of them are created) and some have houses on them. In the array is a Tile object, which holds the tile information such as the height, the tile model (a hexagon) and it's child if it has one. The tile position is stored in the model's name so I can access it through picking. In a touch event, I am removing the house of the tile if it has one, using this code:
Code: [Select]
    String name = ((Object3D) res[1]).getName();
    int foundTileX = Integer.parseInt(name.replace("Tile_", "").split(";")[0]);
    int foundTileY = Integer.parseInt(name.replace("Tile_", "").split(";")[1]);
    Tile foundTile = map.tiles[foundTileX][foundTileY];
    if(foundTile.child!=null){
    world.removeObject(foundTile.child);
    foundTile.child=null;
    }
However, as soon as a house is removed, the game crashes with this error:
(http://new.tinygrab.com/d87a77b5ce6d943ab785f46e1940a89a92b3e2e329.png)
I believe it happens because the touchEvent happens after the world stuff and before the rendering.
How can I solve this? Thanks
Title: Re: world.removeObject(Object3D) crash
Post by: EgonOlsen on October 04, 2013, 08:51:14 pm
You can solve this by not doing the removal in the touch event but in the rendering thread (i.e. in onDrawFrame()). As mentioned many times around here, jPCT isn't thread safe. Your problem so common, it even has a wiki page... ;) http://www.jpct.net/wiki/index.php/Nullpointer_during_rendering_and/or_collision_detection (http://www.jpct.net/wiki/index.php/Nullpointer_during_rendering_and/or_collision_detection)
Title: Re: world.removeObject(Object3D) crash
Post by: LemonLake on October 04, 2013, 08:54:48 pm
So if I create a queue of the things to remove, I can then remove that in the rendering thread and empty the queue and all should be good?
Title: Re: world.removeObject(Object3D) crash
Post by: EgonOlsen on October 04, 2013, 10:12:39 pm
Yes, something like that.
Title: Re: world.removeObject(Object3D) crash
Post by: LemonLake on October 05, 2013, 10:13:38 am
I'm having an issue with this; it's treating every tile as if it's named Tile_10;15 during the rendering process, I've tried calculating through the tiles four different ways; two in the touch event and two in the rendering event.
This is my code in the rendering event that looks at the tiles to determine which one was touched:
Code: [Select]
if (tileChildRemoveQueue.size() > 0) {
for (String name : tileChildRemoveQueue) {
for (int y = 0; y < map.tiles[1].length; y++) {
for (int x = 0; x < map.tiles.length; x++) {
if (map.tiles[x][y].air){
continue;
}
if (map.tiles[x][y].hexagon.getName().equalsIgnoreCase(name)) {
System.out.println("Found one! Details:");
System.out.println("loop x: " + x + " loop y: " + y + " queue name: " + name);
System.out.println("hex name: " + map.tiles[x][y].hexagon.getName());
System.out.println("has child? " + map.tiles[x][y].child != null);
if (map.tiles[x][y].child != null) {
world.removeObject(map.tiles[x][y].child);
map.tiles[x][y].child = null;
}
}else{
System.out.println("fail. x: "+x+" y: "+y+ " requested name: "+name+" got name: "+map.tiles[x][y].hexagon.getName());
}
}
}
}
tileChildRemoveQueue.clear();
}

This is the code in the touch event:
Code: [Select]
                                SimpleVector dir = Interact2D.reproject2D3DWS(cam, fb, (int) tX, (int) tY).normalize();
Object[] res = world.calcMinDistanceAndObject3D(cam.getPosition(), dir, 10000);
if (res.length == 2) {
if (res[1] != null && res[1] instanceof Object3D) {
String name = ((Object3D) res[1]).getName();
tileChildRemoveQueue.add(name);
}
}

Here's the code that creates the tiles (and their possible children, but this will be removed soon when I can get this working):

Code: [Select]
public void generateHexagons() {
for (int y = 0; y < map.tiles[1].length; y++) {
for (int x = 0; x < map.tiles.length; x++) {
if (map.tiles[x][y].air)
continue;
map.tiles[x][y].height = (new Vec(x, y).distance(new Vec(map.tiles.length / 2, map.tiles[1].length / 2)) * 2) - 12;
Object3D cube;
cube = Models.get("hex");
cube.calcTextureWrap();
cube.setTexture("texture");
cube.setAdditionalColor(map.tiles[x][y].color);
cube.scale(1.025f);
cube.strip();
cube.build();
cube.translate((x * 15), map.tiles[x][y].height, -(17 * (2 * y + (x % 2)) / 2));
cube.setCollisionMode(Object3D.COLLISION_CHECK_OTHERS);
cube.setName("Tile_" + x + ";" + y);

if (Math.random() > 0.95) {
Object3D child;
child = Models.get("smallhouse");
child.calcTextureWrap();
child.setTexture("texture");
child.setAdditionalColor(Math.random() > 0.5 ? new RGBColor(125, 125, 125) : new RGBColor(125, 75, 12));
child.scale(1.025f);
child.strip();
child.build();
child.translate((x * 15), map.tiles[x][y].height, -(17 * (2 * y + (x % 2)) / 2));
child.setName("Child_" + x + ";" + y);
map.tiles[x][y].child = child;
world.addObject(child);
}
map.tiles[x][y].hexagon = cube;
world.addObject(cube);
}
}
}

And here is my output:
Code: [Select]
10-05 09:07:37.910: I/System.out(26263): fail. x: 6 y: 1 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 7 y: 1 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 8 y: 1 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 9 y: 1 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 10 y: 1 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 4 y: 2 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 5 y: 2 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 6 y: 2 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 7 y: 2 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 8 y: 2 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 9 y: 2 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 10 y: 2 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 11 y: 2 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 12 y: 2 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 3 y: 3 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 4 y: 3 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 5 y: 3 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 6 y: 3 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 7 y: 3 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 8 y: 3 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 9 y: 3 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 10 y: 3 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 11 y: 3 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 12 y: 3 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 13 y: 3 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 2 y: 4 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 3 y: 4 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 4 y: 4 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 5 y: 4 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 6 y: 4 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 7 y: 4 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 8 y: 4 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 9 y: 4 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 10 y: 4 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 11 y: 4 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 12 y: 4 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 13 y: 4 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 14 y: 4 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 2 y: 5 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 3 y: 5 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 4 y: 5 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 5 y: 5 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 6 y: 5 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 7 y: 5 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 8 y: 5 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 9 y: 5 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 10 y: 5 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 11 y: 5 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 12 y: 5 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 13 y: 5 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 14 y: 5 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 1 y: 6 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 2 y: 6 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 3 y: 6 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 4 y: 6 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 5 y: 6 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 6 y: 6 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 7 y: 6 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 8 y: 6 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.910: I/System.out(26263): fail. x: 9 y: 6 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 10 y: 6 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 11 y: 6 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 12 y: 6 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 13 y: 6 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 14 y: 6 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 15 y: 6 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 1 y: 7 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 2 y: 7 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 3 y: 7 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 4 y: 7 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 5 y: 7 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 6 y: 7 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 7 y: 7 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 8 y: 7 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 9 y: 7 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 10 y: 7 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 11 y: 7 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 12 y: 7 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 13 y: 7 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 14 y: 7 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 15 y: 7 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 1 y: 8 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 2 y: 8 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 3 y: 8 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 4 y: 8 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 5 y: 8 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 6 y: 8 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 7 y: 8 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 8 y: 8 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 9 y: 8 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 10 y: 8 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 11 y: 8 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 12 y: 8 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 13 y: 8 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 14 y: 8 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 15 y: 8 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 1 y: 9 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 2 y: 9 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 3 y: 9 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 4 y: 9 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 5 y: 9 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 6 y: 9 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 7 y: 9 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 8 y: 9 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 9 y: 9 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 10 y: 9 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 11 y: 9 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 12 y: 9 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 13 y: 9 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 14 y: 9 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 15 y: 9 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 1 y: 10 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 2 y: 10 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 3 y: 10 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 4 y: 10 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 5 y: 10 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 6 y: 10 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 7 y: 10 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 8 y: 10 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 9 y: 10 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 10 y: 10 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 11 y: 10 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 12 y: 10 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 13 y: 10 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 14 y: 10 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 15 y: 10 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 2 y: 11 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 3 y: 11 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 4 y: 11 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 5 y: 11 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 6 y: 11 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 7 y: 11 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 8 y: 11 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 9 y: 11 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 10 y: 11 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 11 y: 11 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 12 y: 11 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 13 y: 11 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 14 y: 11 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 2 y: 12 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 3 y: 12 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.915: I/System.out(26263): fail. x: 4 y: 12 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.920: I/System.out(26263): fail. x: 5 y: 12 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.920: I/System.out(26263): fail. x: 6 y: 12 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.920: I/System.out(26263): fail. x: 7 y: 12 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.920: I/System.out(26263): fail. x: 8 y: 12 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.920: I/System.out(26263): fail. x: 9 y: 12 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.920: I/System.out(26263): fail. x: 10 y: 12 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.920: I/System.out(26263): fail. x: 11 y: 12 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.920: I/System.out(26263): fail. x: 12 y: 12 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.920: I/System.out(26263): fail. x: 13 y: 12 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.920: I/System.out(26263): fail. x: 14 y: 12 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.920: I/System.out(26263): fail. x: 3 y: 13 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.920: I/System.out(26263): fail. x: 4 y: 13 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.920: I/System.out(26263): fail. x: 5 y: 13 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.920: I/System.out(26263): fail. x: 6 y: 13 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.920: I/System.out(26263): fail. x: 7 y: 13 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.920: I/System.out(26263): fail. x: 8 y: 13 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.920: I/System.out(26263): fail. x: 9 y: 13 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.920: I/System.out(26263): fail. x: 10 y: 13 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.920: I/System.out(26263): fail. x: 11 y: 13 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.920: I/System.out(26263): fail. x: 12 y: 13 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.920: I/System.out(26263): fail. x: 13 y: 13 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.920: I/System.out(26263): fail. x: 4 y: 14 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.920: I/System.out(26263): fail. x: 5 y: 14 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.920: I/System.out(26263): fail. x: 6 y: 14 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.920: I/System.out(26263): fail. x: 7 y: 14 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.920: I/System.out(26263): fail. x: 8 y: 14 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.920: I/System.out(26263): fail. x: 9 y: 14 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.920: I/System.out(26263): fail. x: 10 y: 14 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.920: I/System.out(26263): fail. x: 11 y: 14 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.920: I/System.out(26263): fail. x: 12 y: 14 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.920: I/System.out(26263): fail. x: 6 y: 15 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.920: I/System.out(26263): fail. x: 7 y: 15 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.920: I/System.out(26263): fail. x: 8 y: 15 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.920: I/System.out(26263): fail. x: 9 y: 15 requested name: Tile_2;11 got name: Tile_10;15
10-05 09:07:37.920: I/System.out(26263): fail. x: 10 y: 15 requested name: Tile_2;11 got name: Tile_10;15

Apologies for the long(ish) post, just wanted to give you as much information as possible.
What am I doing wrong?
Title: Re: world.removeObject(Object3D) crash
Post by: EgonOlsen on October 05, 2013, 11:37:56 am
 ??? setName()/getName() are simple getters and setters for a String. I don't see why they should return the same name for all objects unless you assigned them that way (which i can't see in your code, it seems fine to me). I suggest to add some debug output when creating the objects (print out the names you assign and the names they all have after creation is done) as well as some simple debug output before working the queue to see if they still have the correct names.
If the name somehow changes, i suggest to create a subclass of Object3D for your queue and override setName with something like

Code: [Select]
public void setName(String n) {
     Logger.log("Name set to: "+n);
     Logger.log(new Exception(), Logger.WARNING);
     super.setName(n);
}

to see if something in the code fiddles around with the name.

Apart from all that, i don't recommend to implement the queue in that way anyway. I rather suggest to queue the x,y-location of the event and do the actual tile detection in the render thread as well. That's more thread safe (because by using Interact2D.reproject2D3DWS(cam, fb, (int) tX, (int) tY).normalize(); and world.calcMinDistanceAndObject3D(cam.getPosition(), dir, 10000); you are fiddling around with jPCT-AE instances in the event thread and you are not supposed to do that) and should be easier to implement as well.
Title: Re: world.removeObject(Object3D) crash
Post by: LemonLake on October 05, 2013, 01:06:22 pm
After moving it all to the drawFrame and storing a Vec in the queue, I still get the same result. I made it print the tile name upon creation, and got this:
(http://new.tinygrab.com/d87a77b5cee6900c2bface0c03e3684611d9f8b364.png)

But when tapping, got this:
(http://new.tinygrab.com/d87a77b5ce24d3d194d18b4d185b5d4c5d12e133b8.png)

Code: [Select]
if (tileChildRemoveQueue.size() > 0) {
for (Vec p : tileChildRemoveQueue) {
String name;
SimpleVector dir = Interact2D.reproject2D3DWS(cam, fb, (int) p.x, (int) p.y).normalize();
Object[] res = world.calcMinDistanceAndObject3D(cam.getPosition(), dir, 10000);
if (res.length == 2) {
if (res[1] != null && res[1] instanceof Object3D) {
name = ((Object3D) res[1]).getName();
for (int y = 0; y < map.tiles[1].length; y++) {
for (int x = 0; x < map.tiles.length; x++) {
Tile tile = map.tiles[x][y];
if (tile.air) {
System.out.println("nope");
continue;
}
if (!tile.hexagon.getName().equalsIgnoreCase(name)) {
System.out.println("mismatch, " + tile.hexagon.getName() + " " + name);
continue;
}
if (tile.child != null) {
System.out.println("Removing child x: " + x + " y: " + y + " name: " + name + " tile name: " + tile.hexagon.getName());
world.removeObject(tile.child);
tile.child = null;
}
}
}
}
}
}
tileChildRemoveQueue.clear();
}

Never getting a "Removing child" print.
Title: Re: world.removeObject(Object3D) crash
Post by: EgonOlsen on October 05, 2013, 01:15:56 pm
I would still try to override idea that i mentioned to see if something sets the name after creation. In addition, you might want to print out the object ID and maybe the instance itself to see if you actually are accessing different objects.
Title: Re: world.removeObject(Object3D) crash
Post by: LemonLake on October 05, 2013, 01:16:23 pm
I would still try to override idea that i mentioned to see if something sets the name after creation. In addition, you might want to print out the object ID and maybe the instance itself to see if you actually are accessing different objects.

I just tried that now, but I couldn't quite cast the 3DS loader to it.
Title: Re: world.removeObject(Object3D) crash
Post by: EgonOlsen on October 05, 2013, 01:19:45 pm
No, you can't. But you can create a new instance out of the loaded one by using new Object3D(yourLoadedObj);
Title: Re: world.removeObject(Object3D) crash
Post by: LemonLake on October 05, 2013, 01:24:38 pm
As it turns out, Tile_10;15 is the last object to be created. However nothing seems to be changing it at runtime, so it appears to be a problem with the list(s). I'll try using world.getObjectByName().

Edit: Went back to the good old string reading method, however I'm back at the initial problem; it removes the first object it can find.
Title: Re: world.removeObject(Object3D) crash
Post by: EgonOlsen on October 05, 2013, 01:46:38 pm
I don't think that getObjectByName() will change anything. Have you tried to not set the name at all? What's the output for that? And can you please post the complete log output?
Title: Re: world.removeObject(Object3D) crash
Post by: LemonLake on October 05, 2013, 01:50:24 pm
1. Not setting the name causes the application to crash due to the fact that the tile information is stored in it's name. I'll try doing a loop again, and after that I will post output.

2. http://pastebin.com/3Wu9htm8
Title: Re: world.removeObject(Object3D) crash
Post by: EgonOlsen on October 05, 2013, 02:00:53 pm
That log is missing the good stuff, i.e. the log output that the engine produces...
Title: Re: world.removeObject(Object3D) crash
Post by: LemonLake on October 05, 2013, 02:21:49 pm
That log is missing the good stuff, i.e. the log output that the engine produces...

http://pastebin.com/EdgqhUxw
Title: Re: world.removeObject(Object3D) crash
Post by: EgonOlsen on October 05, 2013, 02:43:16 pm
That indicates that the names are actually fine inside the engine. It has to be either something with your array or (unlikely) a VM related problem. Can you please

Code: [Select]
if (!tile.hexagon.getName().equalsIgnoreCase(name)) {
System.out.println("mismatch, " + tile.hexagon.getName() + " " + name);
continue;
}

replace with

Code: [Select]
if (!tile.hexagon.getName().equalsIgnoreCase(name)) {
System.out.println("mismatch @ "+ x +"," + y + " " + tile.hexagon.getName() + " " + name + "/" +  tile.hexagon + "/" + tile.hexagon.getID());
continue;
}

and post the results!?
Title: Re: world.removeObject(Object3D) crash
Post by: LemonLake on October 05, 2013, 02:45:20 pm
If it helps to know, I'm running through USB on a Samsung Galaxy Note II.
Code: [Select]
10-05 13:45:00.795: D/GestureDetector(7081): [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 2 mFalseSizeCnt:0
10-05 13:45:00.890: I/jPCT-AE(7081): onCreate
10-05 13:45:00.890: I/jPCT-AE(7081): Loading Texture...
10-05 13:45:00.890: I/jPCT-AE(7081): Texture loaded...1024 bytes/16*16 pixels!
10-05 13:45:01.070: D/dalvikvm(7081): GC_CONCURRENT freed 204K, 6% free 12409K/13191K, paused 13ms+2ms, total 40ms
10-05 13:45:01.100: I/System.out(7081): made with name object19
10-05 13:45:01.100: I/System.out(7081): made with name object21
10-05 13:45:01.100: I/System.out(7081): made with name object23
10-05 13:45:01.100: I/System.out(7081): made with name object25
10-05 13:45:01.105: I/System.out(7081): made with name object27
10-05 13:45:01.105: I/System.out(7081): made with name object29
10-05 13:45:01.110: I/System.out(7081): made with name object31
10-05 13:45:01.115: I/System.out(7081): made with name object33
10-05 13:45:01.120: I/System.out(7081): made with name object35
10-05 13:45:01.120: I/System.out(7081): made with name object37
10-05 13:45:01.125: I/System.out(7081): made with name object39
10-05 13:45:01.125: I/System.out(7081): made with name object41
10-05 13:45:01.130: I/System.out(7081): made with name object43
10-05 13:45:01.130: I/System.out(7081): made with name object45
10-05 13:45:01.135: I/System.out(7081): made with name object47
10-05 13:45:01.135: I/System.out(7081): made with name object49
10-05 13:45:01.135: I/System.out(7081): made with name object51
10-05 13:45:01.145: D/dalvikvm(7081): GC_CONCURRENT freed 459K, 8% free 12483K/13511K, paused 1ms+2ms, total 21ms
10-05 13:45:01.145: D/dalvikvm(7081): WAIT_FOR_CONCURRENT_GC blocked 10ms
10-05 13:45:01.145: D/dalvikvm(7081): WAIT_FOR_CONCURRENT_GC blocked 9ms
10-05 13:45:01.150: I/System.out(7081): made with name object53
10-05 13:45:01.150: I/System.out(7081): made with name object55
10-05 13:45:01.155: I/System.out(7081): made with name object57
10-05 13:45:01.155: I/System.out(7081): made with name object59
10-05 13:45:01.155: I/System.out(7081): made with name object61
10-05 13:45:01.155: I/System.out(7081): made with name object63
10-05 13:45:01.155: I/System.out(7081): made with name object65
10-05 13:45:01.160: I/System.out(7081): made with name object67
10-05 13:45:01.160: I/System.out(7081): made with name object69
10-05 13:45:01.160: I/System.out(7081): made with name object71
10-05 13:45:01.160: I/System.out(7081): made with name object73
10-05 13:45:01.160: I/System.out(7081): made with name object75
10-05 13:45:01.165: I/System.out(7081): made with name object77
10-05 13:45:01.165: I/System.out(7081): made with name object80
10-05 13:45:01.180: I/System.out(7081): made with name object82
10-05 13:45:01.185: I/System.out(7081): made with name object85
10-05 13:45:01.185: I/System.out(7081): made with name object87
10-05 13:45:01.185: I/System.out(7081): made with name object89
10-05 13:45:01.200: D/dalvikvm(7081): GC_CONCURRENT freed 408K, 8% free 12599K/13575K, paused 12ms+6ms, total 33ms
10-05 13:45:01.200: D/dalvikvm(7081): WAIT_FOR_CONCURRENT_GC blocked 11ms
10-05 13:45:01.200: I/System.out(7081): made with name object91
10-05 13:45:01.200: I/System.out(7081): made with name object93
10-05 13:45:01.200: I/System.out(7081): made with name object95
10-05 13:45:01.205: I/System.out(7081): made with name object97
10-05 13:45:01.205: I/System.out(7081): made with name object99
10-05 13:45:01.210: I/System.out(7081): made with name object101
10-05 13:45:01.210: I/System.out(7081): made with name object103
10-05 13:45:01.210: E/SpannableStringBuilder(7081): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
10-05 13:45:01.210: E/SpannableStringBuilder(7081): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
10-05 13:45:01.210: I/System.out(7081): made with name object105
10-05 13:45:01.210: I/System.out(7081): made with name object107
10-05 13:45:01.210: I/System.out(7081): made with name object109
10-05 13:45:01.215: I/System.out(7081): made with name object111
10-05 13:45:01.215: I/System.out(7081): made with name object113
10-05 13:45:01.215: I/System.out(7081): made with name object115
10-05 13:45:01.215: I/System.out(7081): made with name object117
10-05 13:45:01.215: I/System.out(7081): made with name object119
10-05 13:45:01.220: I/System.out(7081): made with name object121
10-05 13:45:01.235: I/System.out(7081): made with name object123
10-05 13:45:01.235: I/System.out(7081): made with name object125
10-05 13:45:01.235: I/System.out(7081): made with name object127
10-05 13:45:01.235: I/System.out(7081): made with name object129
10-05 13:45:01.235: I/System.out(7081): made with name object131
10-05 13:45:01.245: D/dalvikvm(7081): GC_CONCURRENT freed 409K, 8% free 12724K/13703K, paused 12ms+3ms, total 28ms
10-05 13:45:01.245: D/dalvikvm(7081): WAIT_FOR_CONCURRENT_GC blocked 9ms
10-05 13:45:01.245: I/System.out(7081): made with name object133
10-05 13:45:01.250: I/System.out(7081): made with name object135
10-05 13:45:01.250: I/System.out(7081): made with name object137
10-05 13:45:01.250: I/System.out(7081): made with name object139
10-05 13:45:01.250: I/System.out(7081): made with name object141
10-05 13:45:01.250: I/System.out(7081): made with name object143
10-05 13:45:01.250: I/System.out(7081): made with name object145
10-05 13:45:01.250: I/System.out(7081): made with name object147
10-05 13:45:01.255: I/System.out(7081): made with name object149
10-05 13:45:01.255: I/System.out(7081): made with name object151
10-05 13:45:01.255: I/System.out(7081): made with name object153
10-05 13:45:01.255: I/System.out(7081): made with name object155
10-05 13:45:01.255: I/System.out(7081): made with name object157
10-05 13:45:01.255: I/System.out(7081): made with name object159
10-05 13:45:01.260: I/System.out(7081): made with name object161
10-05 13:45:01.260: I/System.out(7081): made with name object163
10-05 13:45:01.260: I/System.out(7081): made with name object165
10-05 13:45:01.275: I/System.out(7081): made with name object167
10-05 13:45:01.275: I/System.out(7081): made with name object169
10-05 13:45:01.275: I/System.out(7081): made with name object171
10-05 13:45:01.280: I/System.out(7081): made with name object173
10-05 13:45:01.285: D/dalvikvm(7081): GC_CONCURRENT freed 425K, 8% free 12837K/13831K, paused 12ms+2ms, total 27ms
10-05 13:45:01.285: D/dalvikvm(7081): WAIT_FOR_CONCURRENT_GC blocked 8ms
10-05 13:45:01.285: I/System.out(7081): made with name object175
10-05 13:45:01.290: I/System.out(7081): made with name object177
10-05 13:45:01.290: I/System.out(7081): made with name object179
10-05 13:45:01.290: I/System.out(7081): made with name object181
10-05 13:45:01.290: I/System.out(7081): made with name object183
10-05 13:45:01.290: I/System.out(7081): made with name object185
10-05 13:45:01.290: I/System.out(7081): made with name object187
10-05 13:45:01.290: I/System.out(7081): made with name object189
10-05 13:45:01.295: I/System.out(7081): made with name object191
10-05 13:45:01.295: I/System.out(7081): made with name object193
10-05 13:45:01.295: I/System.out(7081): made with name object195
10-05 13:45:01.295: I/System.out(7081): made with name object197
10-05 13:45:01.300: I/System.out(7081): made with name object199
10-05 13:45:01.300: I/System.out(7081): made with name object201
10-05 13:45:01.300: I/System.out(7081): made with name object203
10-05 13:45:01.300: I/System.out(7081): made with name object205
10-05 13:45:01.300: I/System.out(7081): made with name object207
10-05 13:45:01.305: I/System.out(7081): made with name object209
10-05 13:45:01.305: I/System.out(7081): made with name object211
10-05 13:45:01.305: I/System.out(7081): made with name object213
10-05 13:45:01.305: I/System.out(7081): made with name object215
10-05 13:45:01.320: D/dalvikvm(7081): GC_CONCURRENT freed 425K, 8% free 12964K/13959K, paused 2ms+2ms, total 18ms
10-05 13:45:01.320: D/dalvikvm(7081): WAIT_FOR_CONCURRENT_GC blocked 13ms
10-05 13:45:01.320: I/System.out(7081): made with name object218
10-05 13:45:01.320: I/System.out(7081): made with name object220
10-05 13:45:01.325: I/System.out(7081): made with name object222
10-05 13:45:01.325: I/System.out(7081): made with name object224
10-05 13:45:01.325: I/System.out(7081): made with name object226
10-05 13:45:01.325: I/System.out(7081): made with name object228
10-05 13:45:01.325: I/System.out(7081): made with name object230
10-05 13:45:01.325: I/System.out(7081): made with name object232
10-05 13:45:01.325: I/System.out(7081): made with name object234
10-05 13:45:01.330: I/System.out(7081): made with name object236
10-05 13:45:01.330: I/System.out(7081): made with name object238
10-05 13:45:01.330: I/System.out(7081): made with name object240
10-05 13:45:01.330: I/System.out(7081): made with name object242
10-05 13:45:01.330: I/System.out(7081): made with name object244
10-05 13:45:01.330: I/System.out(7081): made with name object246
10-05 13:45:01.335: I/System.out(7081): made with name object248
10-05 13:45:01.335: I/System.out(7081): made with name object250
10-05 13:45:01.345: I/System.out(7081): made with name object252
10-05 13:45:01.350: I/System.out(7081): made with name object254
10-05 13:45:01.350: I/System.out(7081): made with name object256
10-05 13:45:01.350: I/System.out(7081): made with name object258
10-05 13:45:01.350: I/System.out(7081): made with name object260
10-05 13:45:01.365: D/dalvikvm(7081): GC_CONCURRENT freed 426K, 8% free 13090K/14087K, paused 13ms+2ms, total 29ms
10-05 13:45:01.365: D/dalvikvm(7081): WAIT_FOR_CONCURRENT_GC blocked 13ms
10-05 13:45:01.365: I/System.out(7081): made with name object263
10-05 13:45:01.365: I/System.out(7081): made with name object265
10-05 13:45:01.365: I/System.out(7081): made with name object267
10-05 13:45:01.370: I/System.out(7081): made with name object269
10-05 13:45:01.370: I/System.out(7081): made with name object271
10-05 13:45:01.370: I/System.out(7081): made with name object273
10-05 13:45:01.370: I/System.out(7081): made with name object275
10-05 13:45:01.370: I/System.out(7081): made with name object277
10-05 13:45:01.370: I/System.out(7081): made with name object279
10-05 13:45:01.375: I/System.out(7081): made with name object281
10-05 13:45:01.375: I/System.out(7081): made with name object283
10-05 13:45:01.375: I/System.out(7081): made with name object285
10-05 13:45:01.375: I/System.out(7081): made with name object287
10-05 13:45:01.375: I/System.out(7081): made with name object289
10-05 13:45:01.380: I/System.out(7081): made with name object291
10-05 13:45:01.380: I/System.out(7081): made with name object293
10-05 13:45:01.385: I/System.out(7081): made with name object295
10-05 13:45:01.385: I/System.out(7081): made with name object298
10-05 13:45:01.385: I/System.out(7081): made with name object300
10-05 13:45:01.390: I/System.out(7081): made with name object302
10-05 13:45:01.400: D/dalvikvm(7081): GC_CONCURRENT freed 439K, 8% free 13206K/14215K, paused 2ms+2ms, total 20ms
10-05 13:45:01.400: D/dalvikvm(7081): WAIT_FOR_CONCURRENT_GC blocked 12ms
10-05 13:45:01.400: I/System.out(7081): made with name object304
10-05 13:45:01.400: I/System.out(7081): made with name object306
10-05 13:45:01.405: I/System.out(7081): made with name object308
10-05 13:45:01.410: I/System.out(7081): made with name object311
10-05 13:45:01.410: I/System.out(7081): made with name object313
10-05 13:45:01.410: I/System.out(7081): made with name object315
10-05 13:45:01.410: I/System.out(7081): made with name object317
10-05 13:45:01.410: I/System.out(7081): made with name object319
10-05 13:45:01.410: I/System.out(7081): made with name object321
10-05 13:45:01.410: I/System.out(7081): made with name object323
10-05 13:45:01.415: I/System.out(7081): made with name object325
10-05 13:45:01.415: I/System.out(7081): made with name object327
10-05 13:45:01.415: I/System.out(7081): made with name object329
10-05 13:45:01.415: I/System.out(7081): made with name object331
10-05 13:45:01.420: I/System.out(7081): made with name object333
10-05 13:45:01.420: I/System.out(7081): made with name object335
10-05 13:45:01.420: I/System.out(7081): made with name object337
10-05 13:45:01.420: I/System.out(7081): made with name object339
10-05 13:45:01.425: I/System.out(7081): made with name object341
10-05 13:45:01.425: I/System.out(7081): made with name object343
10-05 13:45:01.425: I/System.out(7081): made with name object345
10-05 13:45:01.440: D/dalvikvm(7081): GC_CONCURRENT freed 442K, 8% free 13331K/14343K, paused 1ms+1ms, total 19ms
10-05 13:45:01.440: D/dalvikvm(7081): WAIT_FOR_CONCURRENT_GC blocked 13ms
10-05 13:45:01.440: I/System.out(7081): made with name object347
10-05 13:45:01.440: I/System.out(7081): made with name object349
10-05 13:45:01.440: I/System.out(7081): made with name object351
10-05 13:45:01.440: I/System.out(7081): made with name object353
10-05 13:45:01.445: I/System.out(7081): made with name object355
10-05 13:45:01.445: I/System.out(7081): made with name object358
10-05 13:45:01.445: I/System.out(7081): made with name object360
10-05 13:45:01.445: I/System.out(7081): made with name object362
10-05 13:45:01.445: I/System.out(7081): made with name object364
10-05 13:45:01.450: I/System.out(7081): made with name object366
10-05 13:45:01.450: I/System.out(7081): made with name object368
10-05 13:45:01.450: I/System.out(7081): made with name object370
10-05 13:45:01.450: I/System.out(7081): made with name object372
10-05 13:45:01.450: I/System.out(7081): made with name object374
10-05 13:45:01.455: I/System.out(7081): made with name object376
10-05 13:45:01.455: I/System.out(7081): made with name object378
10-05 13:45:01.455: D/dalvikvm(7081): WAIT_FOR_CONCURRENT_GC blocked 0ms
10-05 13:45:01.485: D/dalvikvm(7081): GC_EXPLICIT freed 335K, 7% free 13411K/14343K, paused 2ms+2ms, total 27ms
10-05 13:45:01.485: D/dalvikvm(7081): WAIT_FOR_CONCURRENT_GC blocked 0ms
10-05 13:45:01.510: D/dalvikvm(7081): GC_EXPLICIT freed 6K, 7% free 13405K/14343K, paused 2ms+2ms, total 25ms
10-05 13:45:01.725: D/dalvikvm(7081): GC_CONCURRENT freed 402K, 7% free 13562K/14535K, paused 2ms+3ms, total 21ms
10-05 13:45:01.725: D/dalvikvm(7081): WAIT_FOR_CONCURRENT_GC blocked 6ms
10-05 13:45:01.780: D/dalvikvm(7081): GC_CONCURRENT freed 419K, 7% free 13671K/14663K, paused 2ms+4ms, total 25ms
10-05 13:45:01.780: D/dalvikvm(7081): WAIT_FOR_CONCURRENT_GC blocked 12ms
10-05 13:45:01.855: D/dalvikvm(7081): GC_CONCURRENT freed 355K, 7% free 13751K/14727K, paused 12ms+12ms, total 44ms
10-05 13:45:38.050: D/GestureDetector(7081): [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 28 mFalseSizeCnt:0
10-05 13:45:38.805: D/GestureDetector(7081): [Surface Touch Event] mSweepDown False, mLRSDCnt : -1 mTouchCnt : 2 mFalseSizeCnt:0
10-05 13:45:38.830: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.830: I/System.out(7081): mismatch @ 6,1 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.830: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.830: I/System.out(7081): mismatch @ 7,1 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.830: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.830: I/System.out(7081): mismatch @ 8,1 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.830: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.830: I/System.out(7081): mismatch @ 9,1 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.830: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.830: I/System.out(7081): mismatch @ 10,1 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.830: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.830: I/System.out(7081): mismatch @ 4,2 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.830: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.830: I/System.out(7081): mismatch @ 5,2 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.830: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.830: I/System.out(7081): mismatch @ 6,2 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.830: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.830: I/System.out(7081): mismatch @ 7,2 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.830: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.830: I/System.out(7081): mismatch @ 8,2 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.830: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.830: I/System.out(7081): mismatch @ 9,2 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.830: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.830: I/System.out(7081): mismatch @ 10,2 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.830: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.830: I/System.out(7081): mismatch @ 11,2 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.830: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.830: I/System.out(7081): mismatch @ 12,2 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.830: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.830: I/System.out(7081): mismatch @ 3,3 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.830: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.830: I/System.out(7081): mismatch @ 4,3 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.830: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.830: I/System.out(7081): mismatch @ 5,3 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.830: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.830: I/System.out(7081): mismatch @ 6,3 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.830: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.830: I/System.out(7081): mismatch @ 7,3 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.830: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.830: I/System.out(7081): mismatch @ 8,3 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.830: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.830: I/System.out(7081): mismatch @ 9,3 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.830: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.830: I/System.out(7081): mismatch @ 10,3 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.830: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.830: I/System.out(7081): mismatch @ 11,3 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.830: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.830: I/System.out(7081): mismatch @ 12,3 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.830: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.830: I/System.out(7081): mismatch @ 13,3 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.830: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.830: I/System.out(7081): mismatch @ 2,4 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.830: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.830: I/System.out(7081): mismatch @ 3,4 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.830: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.830: I/System.out(7081): mismatch @ 4,4 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.830: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.835: I/System.out(7081): mismatch @ 5,4 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.835: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.835: I/System.out(7081): mismatch @ 6,4 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.835: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.835: I/System.out(7081): mismatch @ 7,4 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.835: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.835: I/System.out(7081): mismatch @ 8,4 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.835: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.835: I/System.out(7081): mismatch @ 9,4 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.835: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.835: I/System.out(7081): mismatch @ 10,4 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.835: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.835: I/System.out(7081): mismatch @ 11,4 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.835: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.835: I/System.out(7081): mismatch @ 12,4 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.835: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.835: I/System.out(7081): mismatch @ 13,4 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.835: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.835: I/System.out(7081): mismatch @ 14,4 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.835: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.835: I/System.out(7081): mismatch @ 2,5 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.835: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.835: I/System.out(7081): mismatch @ 3,5 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.835: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.835: I/System.out(7081): mismatch @ 4,5 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.835: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.835: I/System.out(7081): mismatch @ 5,5 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.835: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.835: I/System.out(7081): mismatch @ 6,5 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.835: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.835: I/System.out(7081): mismatch @ 7,5 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.835: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.840: I/System.out(7081): mismatch @ 8,5 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.840: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.840: I/System.out(7081): mismatch @ 9,5 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.840: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.840: I/System.out(7081): mismatch @ 10,5 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.840: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.840: I/System.out(7081): mismatch @ 11,5 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.840: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.840: I/System.out(7081): mismatch @ 12,5 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.840: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.840: I/System.out(7081): mismatch @ 13,5 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.840: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.840: I/System.out(7081): mismatch @ 14,5 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.840: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.840: I/System.out(7081): mismatch @ 1,6 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.840: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.840: I/System.out(7081): mismatch @ 2,6 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.840: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.840: I/System.out(7081): mismatch @ 3,6 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.840: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.840: I/System.out(7081): mismatch @ 4,6 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.840: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.840: I/System.out(7081): mismatch @ 5,6 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.840: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.840: I/System.out(7081): mismatch @ 6,6 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.840: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.840: I/System.out(7081): mismatch @ 7,6 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.840: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.840: I/System.out(7081): mismatch @ 8,6 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.840: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.840: I/System.out(7081): mismatch @ 9,6 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.840: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.840: I/System.out(7081): mismatch @ 10,6 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.840: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.840: I/System.out(7081): mismatch @ 11,6 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.840: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.840: I/System.out(7081): mismatch @ 12,6 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.840: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.840: I/System.out(7081): mismatch @ 13,6 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.840: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.840: I/System.out(7081): mismatch @ 14,6 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.840: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.840: I/System.out(7081): mismatch @ 15,6 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.840: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.840: I/System.out(7081): mismatch @ 1,7 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.840: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.840: I/System.out(7081): mismatch @ 2,7 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.840: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.840: I/System.out(7081): mismatch @ 3,7 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.840: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.840: I/System.out(7081): mismatch @ 4,7 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.840: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.840: I/System.out(7081): mismatch @ 5,7 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.840: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.840: I/System.out(7081): mismatch @ 6,7 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.845: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.845: I/System.out(7081): mismatch @ 7,7 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.845: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.845: I/System.out(7081): mismatch @ 8,7 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.845: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.845: I/System.out(7081): mismatch @ 9,7 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.845: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.845: I/System.out(7081): mismatch @ 10,7 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.845: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.845: I/System.out(7081): mismatch @ 11,7 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.845: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.845: I/System.out(7081): mismatch @ 12,7 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.845: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.845: I/System.out(7081): mismatch @ 13,7 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.845: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.845: I/System.out(7081): mismatch @ 14,7 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.845: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.845: I/System.out(7081): mismatch @ 15,7 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.845: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.845: I/System.out(7081): mismatch @ 1,8 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.845: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.845: I/System.out(7081): mismatch @ 2,8 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.845: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.845: I/System.out(7081): mismatch @ 3,8 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.845: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.845: I/System.out(7081): mismatch @ 4,8 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.845: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.845: I/System.out(7081): mismatch @ 5,8 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.845: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.845: I/System.out(7081): mismatch @ 6,8 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.845: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.845: I/System.out(7081): mismatch @ 7,8 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.845: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.845: I/System.out(7081): mismatch @ 8,8 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.845: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.845: I/System.out(7081): mismatch @ 9,8 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.845: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.845: I/System.out(7081): mismatch @ 10,8 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.845: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.845: I/System.out(7081): mismatch @ 11,8 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.845: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.845: I/System.out(7081): mismatch @ 12,8 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.845: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.845: I/System.out(7081): mismatch @ 13,8 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.845: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.845: I/System.out(7081): mismatch @ 14,8 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.845: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.845: I/System.out(7081): mismatch @ 15,8 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.845: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.845: I/System.out(7081): mismatch @ 1,9 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.845: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.845: I/System.out(7081): mismatch @ 2,9 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.845: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.850: I/System.out(7081): mismatch @ 3,9 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.850: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.850: I/System.out(7081): mismatch @ 4,9 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.850: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.850: I/System.out(7081): mismatch @ 5,9 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.850: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.850: I/System.out(7081): mismatch @ 6,9 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.850: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.850: I/System.out(7081): mismatch @ 7,9 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.850: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.850: I/System.out(7081): mismatch @ 8,9 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.850: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.850: I/System.out(7081): mismatch @ 9,9 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.850: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.850: I/System.out(7081): mismatch @ 10,9 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.850: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.850: I/System.out(7081): mismatch @ 11,9 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.850: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.850: I/System.out(7081): mismatch @ 12,9 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.850: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.850: I/System.out(7081): mismatch @ 13,9 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.850: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.850: I/System.out(7081): mismatch @ 14,9 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.850: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.850: I/System.out(7081): mismatch @ 15,9 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.850: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.850: I/System.out(7081): mismatch @ 1,10 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.850: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.850: I/System.out(7081): mismatch @ 2,10 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.850: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.850: I/System.out(7081): mismatch @ 3,10 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.850: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.850: I/System.out(7081): mismatch @ 4,10 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.850: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.850: I/System.out(7081): mismatch @ 5,10 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.850: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.850: I/System.out(7081): mismatch @ 6,10 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.850: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.850: I/System.out(7081): mismatch @ 7,10 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.850: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.850: I/System.out(7081): mismatch @ 8,10 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.850: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.850: I/System.out(7081): mismatch @ 9,10 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.850: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.850: I/System.out(7081): mismatch @ 10,10 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.850: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.850: I/System.out(7081): mismatch @ 11,10 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.850: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.850: I/System.out(7081): mismatch @ 12,10 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.850: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.855: I/System.out(7081): mismatch @ 13,10 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.855: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.855: I/System.out(7081): mismatch @ 14,10 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.855: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.855: I/System.out(7081): mismatch @ 15,10 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.855: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.855: I/System.out(7081): mismatch @ 2,11 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.855: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.855: I/System.out(7081): mismatch @ 3,11 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.855: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.855: I/System.out(7081): mismatch @ 4,11 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.855: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.855: I/System.out(7081): mismatch @ 5,11 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.855: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.855: I/System.out(7081): mismatch @ 6,11 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.855: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.855: I/System.out(7081): mismatch @ 7,11 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.855: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.855: I/System.out(7081): mismatch @ 8,11 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.855: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.855: I/System.out(7081): mismatch @ 9,11 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.855: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.855: I/System.out(7081): mismatch @ 10,11 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.855: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.855: I/System.out(7081): mismatch @ 11,11 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.855: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.855: I/System.out(7081): mismatch @ 12,11 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.855: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.855: I/System.out(7081): mismatch @ 13,11 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.855: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.855: I/System.out(7081): mismatch @ 14,11 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.855: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.855: I/System.out(7081): mismatch @ 2,12 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.855: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.855: I/System.out(7081): mismatch @ 3,12 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.855: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.855: I/System.out(7081): mismatch @ 4,12 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.855: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.855: I/System.out(7081): mismatch @ 5,12 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.855: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.855: I/System.out(7081): mismatch @ 6,12 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.855: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.855: I/System.out(7081): mismatch @ 7,12 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.855: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.855: I/System.out(7081): mismatch @ 8,12 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.855: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.855: I/System.out(7081): mismatch @ 9,12 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.855: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.855: I/System.out(7081): mismatch @ 10,12 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.855: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.855: I/System.out(7081): mismatch @ 11,12 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.855: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.855: I/System.out(7081): mismatch @ 12,12 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.855: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.855: I/System.out(7081): mismatch @ 13,12 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.855: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.855: I/System.out(7081): mismatch @ 14,12 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.855: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.860: I/System.out(7081): mismatch @ 3,13 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.860: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.860: I/System.out(7081): mismatch @ 4,13 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.860: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.860: I/System.out(7081): mismatch @ 5,13 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.860: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.860: I/System.out(7081): mismatch @ 6,13 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.860: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.860: I/System.out(7081): mismatch @ 7,13 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.860: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.860: I/System.out(7081): mismatch @ 8,13 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.860: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.860: I/System.out(7081): mismatch @ 9,13 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.860: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.860: I/System.out(7081): mismatch @ 10,13 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.860: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.860: I/System.out(7081): mismatch @ 11,13 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.860: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.860: I/System.out(7081): mismatch @ 12,13 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.860: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.860: I/System.out(7081): mismatch @ 13,13 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.860: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.860: I/System.out(7081): mismatch @ 4,14 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.860: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.860: I/System.out(7081): mismatch @ 5,14 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.860: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.860: I/System.out(7081): mismatch @ 6,14 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.860: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.860: I/System.out(7081): mismatch @ 7,14 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.860: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.860: I/System.out(7081): mismatch @ 8,14 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.860: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.860: I/System.out(7081): mismatch @ 9,14 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.860: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.860: I/System.out(7081): mismatch @ 10,14 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.860: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.860: I/System.out(7081): mismatch @ 11,14 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.860: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.860: I/System.out(7081): mismatch @ 12,14 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.860: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.860: I/System.out(7081): mismatch @ 6,15 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.860: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.860: I/System.out(7081): mismatch @ 7,15 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.860: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.860: I/System.out(7081): mismatch @ 8,15 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.860: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.860: I/System.out(7081): mismatch @ 9,15 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:38.860: I/System.out(7081): Trying tile. it's name is object378 and we're looking for object215
10-05 13:45:38.860: I/System.out(7081): mismatch @ 10,15 object378 object215/lemmy.cruiseislands.Object3DL@41ed0070/376
10-05 13:45:41.910: D/dalvikvm(7081): GC_CONCURRENT freed 389K, 7% free 13834K/14855K, paused 11ms+3ms, total 33ms

Title: Re: world.removeObject(Object3D) crash
Post by: EgonOlsen on October 05, 2013, 03:07:27 pm
So your array is somehow filled with the instance and that causes your problem. Looking at your code, i don't see the reason ATM unless you are using the same instance in tile already. How do you create the actual tile array? It might help to print out tile itself in addition.
Title: Re: world.removeObject(Object3D) crash
Post by: LemonLake on October 05, 2013, 03:10:32 pm
So your array is somehow filled with the instance and that causes your problem. Looking at your code, i don't see the reason ATM unless you are using the same instance in tile already. How do you create the actual tile array? It might help to print out tile itself in addition.

In onCreate, I create a map with the width and height of 16x16. The constructor and fields of Map are as so:
Code: [Select]
public Tile[][] tiles;
public int width, height;

public Object3D sea;
public boolean seaDirection = true;

public Map(int width, int height) {
this.width = width;
this.height = height;
tiles = new Tile[width][height];
for (int y = 0; y < tiles[1].length; y++) {
for (int x = 0; x < tiles.length; x++) {
tiles[x][y] = new Tile();
tiles[x][y].air=true;
// tiles[x][y].color = new RGBColor(237, 201, 175);
// tiles[x][y].height = (float) Math.random();
}
}
Tile islandTile = new Tile();
islandTile.color = new RGBColor(237,201,175);
islandTile.height = 1;
placeCircleWithTiles(tiles.length/2,tiles[1].length/2,(tiles.length/2)-1,islandTile);
}

And the tile class just holds a few variables;
Code: [Select]
public class Tile {
public RGBColor color;
public float height;
public Object3D hexagon;
public boolean air;
public Object3D child;

public Tile(){

}
}

Also, the placeCircleWithTiles method calls placeLineWithTiles a few times,  which then calls this:

Code: [Select]
public void placeTile(int x,int y,Tile tile) {
if(x<0||y<0||x>tiles.length||y>tiles[1].length)
return;
tiles[x][y]=tile;
}
And islandTile is passed through the whole time.

Edit: I believe I just found the cause of the problem thanks to this post. The same Tile is being given to every part of the array, but the world positions the objects and colors them through its own list. I'll simply create a new tile each time instead of passing it through, and see if that works.

Edit 2: Hey, what do you know, that works! Thanks for making me realise my simple mistake with instances :)
Title: Re: world.removeObject(Object3D) crash
Post by: EgonOlsen on October 05, 2013, 03:28:16 pm
No problem. Regarding the large numbers of objects that you are using, you should consider to create clones from a blueprint object like

Code: [Select]
Object3D cube=new Object3D(blueprintCube, true);

and then make the copies use the same data on the gpu by doing

Code: [Select]
cube.shareCompiledData(blueprintCube);

That's much more efficient than individual meshes pushed onto the gpu and uses less memory in addition.
Title: Re: world.removeObject(Object3D) crash
Post by: LemonLake on October 05, 2013, 03:28:45 pm
Yep, thats what I'm doing in my Models class.