Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

So I'm trying to load a .obj file I created in Blender, but I'm getting a really strange error:

 

[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: java.lang.ArrayIndexOutOfBoundsException: 1
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at net.minecraftforge.client.model.obj.OBJModel$Parser.parse(OBJModel.java:220)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at net.minecraftforge.client.model.obj.OBJLoader.loadModel(OBJLoader.java:72)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at com.nosrick.masterofmagic.rendering.TileEntityFontRenderer.Initialise(TileEntityFontRenderer.java:36)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at com.nosrick.masterofmagic.ClientProxy.init(ClientProxy.java:37)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at com.nosrick.masterofmagic.MoMMod.init(MoMMod.java:68)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at java.lang.reflect.Method.invoke(Unknown Source)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at java.lang.reflect.Method.invoke(Unknown Source)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at com.google.common.eventbus.EventBus.post(EventBus.java:275)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:211)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at java.lang.reflect.Method.invoke(Unknown Source)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at com.google.common.eventbus.EventBus.post(EventBus.java:275)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:737)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:310)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at net.minecraft.client.Minecraft.startGame(Minecraft.java:532)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at net.minecraft.client.Minecraft.run(Minecraft.java:360)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at net.minecraft.client.main.Main.main(Main.java:116)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at java.lang.reflect.Method.invoke(Unknown Source)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at java.lang.reflect.Method.invoke(Unknown Source)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
[13:20:37] [Client thread/INFO] [sTDERR]: [com.nosrick.masterofmagic.rendering.TileEntityFontRenderer:Initialise:40]: 	at GradleStart.main(GradleStart.java:26)

 

 

The real offender is this line:

String data = fields[1];

in the OBJModel.java class.

Why is this happening, and what can I do to stop it?

It looks like Forge's OBJ parser expects each non-empty, non-comment line to consist of a key and some data separated by whitespace; but it encountered a line that didn't match this pattern.

 

I suggest setting a breakpoint on line 220 of

ObjModel

(where the error occurs) with a condition of

fields.length < 2

(i.e. the line couldn't be split into two parts separated by whitespace) and looking at the value of

currentLine

to see what the offending line is.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

  • Author

currentLine = "{"

I have no idea where it's getting that from, because my .obj doesn't contain any curly braces.

 

Here's the .obj in its entirity.

 

# Blender v2.76 (sub 0) OBJ File: 'font.blend'
# www.blender.org
mtllib font.mtl
o Cube
v 1.000000 0.100000 -1.000000
v 1.000000 0.100000 1.000000
v -1.000000 0.100000 1.000000
v -1.000000 0.100000 -1.000000
v 1.000000 0.300000 -0.999999
v 0.999999 0.300000 1.000001
v -1.000000 0.300000 1.000000
v -1.000000 0.300000 -1.000000
v 1.000000 0.100000 -0.333333
v 1.000000 0.100000 0.333333
v 0.333333 0.100000 -1.000000
v -0.333333 0.100000 -1.000000
v 1.000000 0.166667 -1.000000
v 1.000000 0.233333 -1.000000
v 0.333333 0.100000 1.000000
v -0.333333 0.100000 1.000000
v 1.000000 0.166667 1.000000
v 1.000000 0.233333 1.000000
v -1.000000 0.100000 0.333333
v -1.000000 0.100000 -0.333334
v -1.000000 0.166667 1.000000
v -1.000000 0.233333 1.000000
v -1.000000 0.166667 -1.000000
v -1.000000 0.233333 -1.000000
v 1.000000 0.300000 -0.333333
v 1.000000 0.300000 0.333334
v 0.333334 0.300000 -1.000000
v -0.333333 0.300000 -1.000000
v 0.333333 0.300000 1.000000
v -0.333334 0.300000 1.000000
v -1.000000 0.300000 0.333333
v -1.000000 0.300000 -0.333333
v 0.333334 0.233333 -1.000000
v -0.333333 0.233333 -1.000000
v 0.333333 0.166667 -1.000000
v -0.333333 0.166667 -1.000000
v -1.000000 0.166667 0.333333
v -1.000000 0.166667 -0.333334
v -1.000000 0.233333 0.333333
v -1.000000 0.233333 -0.333334
v 0.333333 0.166667 1.000000
v -0.333334 0.166667 1.000000
v 0.333333 0.233333 1.000000
v -0.333334 0.233333 1.000000
v 1.000000 0.166667 -0.333333
v 1.000000 0.166667 0.333334
v 1.000000 0.233333 -0.333333
v 1.000000 0.233333 0.333334
v 0.333333 0.400000 -0.333333
v 0.333333 0.400000 0.333334
v -0.333333 0.400000 -0.333333
v -0.333334 0.400000 0.333333
v 0.333333 0.176281 -0.333333
v -0.333333 0.176281 -0.333334
v 0.333333 0.176281 0.333333
v -0.333333 0.176281 0.333333
v 0.333333 1.200000 -0.333333
v 0.333333 1.200000 0.333334
v -0.333333 1.200000 -0.333333
v -0.333334 1.200000 0.333333
v 0.833334 1.255867 -0.833333
v 0.833333 1.255867 0.833334
v -0.833333 1.255867 -0.833333
v -0.833334 1.255867 0.833333
v 0.833334 1.455867 -0.833333
v 0.833333 1.455867 0.833334
v -0.833333 1.455867 -0.833333
v -0.833334 1.455867 0.833333
v 0.833333 1.455867 -0.700000
v 0.833333 1.455867 -0.166666
v 0.833333 1.455867 0.166667
v 0.833333 1.455867 0.700000
v -0.833333 1.455867 -0.700000
v -0.833333 1.455867 -0.166667
v -0.833333 1.455867 0.166667
v -0.833333 1.455867 0.700000
v -0.700000 1.455867 -0.833333
v -0.166666 1.455867 -0.833333
v 0.166667 1.455867 -0.833333
v 0.700000 1.455867 -0.833333
v -0.700000 1.455867 0.833333
v -0.166667 1.455867 0.833333
v 0.166666 1.455867 0.833334
v 0.700000 1.455867 0.833334
v 0.700000 1.455867 -0.700000
v 0.700000 1.455867 -0.166666
v 0.700000 1.455867 0.166667
v 0.700000 1.455867 0.700000
v 0.166667 1.455867 -0.700000
v 0.166667 1.455867 -0.166666
v 0.166666 1.455867 0.166667
v 0.166666 1.455867 0.700000
v -0.166667 1.455867 -0.700000
v -0.166667 1.455867 -0.166667
v -0.166667 1.455867 0.166667
v -0.166667 1.455867 0.700000
v -0.700000 1.455867 -0.700000
v -0.700000 1.455867 -0.166667
v -0.700000 1.455867 0.166667
v -0.700000 1.455867 0.700000
v -0.700000 2.366376 0.700000
v -0.833333 2.366376 0.700000
v -0.833334 2.366376 0.833333
v -0.700000 2.366376 0.833333
v 0.833333 2.366376 0.700000
v 0.700000 2.366376 0.700000
v 0.700000 2.366376 0.833334
v 0.833333 2.366376 0.833334
v 0.700000 2.366376 0.700000
v 0.166666 2.366376 0.700000
v 0.166666 2.366376 0.833334
v 0.700000 2.366376 0.833334
v 0.166666 2.366376 0.700000
v -0.166667 2.366376 0.700000
v -0.166667 2.366376 0.833333
v 0.166666 2.366376 0.833334
v -0.166667 2.366376 0.700000
v -0.700000 2.366376 0.700000
v -0.700000 2.366376 0.833333
v -0.166667 2.366376 0.833333
v 0.833334 2.366376 -0.833333
v 0.700000 2.366376 -0.833333
v 0.700000 2.366376 -0.700000
v 0.833333 2.366376 -0.700000
v 0.833333 2.366376 -0.700000
v 0.700000 2.366376 -0.700000
v 0.700000 2.366376 -0.166666
v 0.833333 2.366376 -0.166666
v 0.833333 2.366376 -0.166666
v 0.700000 2.366376 -0.166666
v 0.700000 2.366376 0.166667
v 0.833333 2.366376 0.166667
v 0.833333 2.366376 0.166667
v 0.700000 2.366376 0.166667
v 0.700000 2.366376 0.700000
v 0.833333 2.366376 0.700000
v 0.700000 2.366376 -0.833333
v 0.166667 2.366376 -0.833333
v 0.166667 2.366376 -0.700000
v 0.700000 2.366376 -0.700000
v 0.166667 2.366376 -0.833333
v -0.166666 2.366376 -0.833333
v -0.166667 2.366376 -0.700000
v 0.166667 2.366376 -0.700000
v -0.166666 2.366376 -0.833333
v -0.700000 2.366376 -0.833333
v -0.700000 2.366376 -0.700000
v -0.166667 2.366376 -0.700000
v -0.700000 2.366376 -0.833333
v -0.833333 2.366376 -0.833333
v -0.833333 2.366376 -0.700000
v -0.700000 2.366376 -0.700000
v -0.700000 2.366376 -0.700000
v -0.833333 2.366376 -0.700000
v -0.833333 2.366376 -0.166667
v -0.700000 2.366376 -0.166667
v -0.700000 2.366376 -0.166667
v -0.833333 2.366376 -0.166667
v -0.833333 2.366376 0.166667
v -0.700000 2.366376 0.166667
v -0.700000 2.366376 0.166667
v -0.833333 2.366376 0.166667
v -0.833333 2.366376 0.700000
v -0.700000 2.366376 0.700000
vn 0.057000 -0.996700 -0.057000
vn -0.074600 0.994400 0.074600
vn 1.000000 0.000000 0.000000
vn -0.000000 0.000000 1.000000
vn -1.000000 -0.000000 -0.000000
vn 0.000000 0.000000 -1.000000
vn 0.074600 0.994400 0.074600
vn -0.000000 0.988900 0.148300
vn 0.074600 0.994400 -0.074600
vn 0.148300 0.988900 0.000000
vn 0.000000 0.988900 -0.148300
vn -0.074600 0.994400 -0.074600
vn -0.148300 0.988900 -0.000000
vn 0.057000 -0.996700 0.057000
vn 0.113700 -0.993500 0.000000
vn -0.057000 -0.996700 0.057000
vn -0.000000 -0.993500 0.113700
vn -0.113700 -0.993500 -0.000000
vn 0.000000 -1.000000 -0.000000
vn -0.057000 -0.996700 -0.057000
vn 0.000000 -0.993500 -0.113700
vn -0.111000 -0.993800 -0.000000
vn 0.000000 -0.993800 -0.111000
vn 0.111000 -0.993800 0.000000
vn -0.000000 -0.993800 0.111000
vn 0.000000 1.000000 0.000000
usemtl Material
s off
f 56//1 16//1 3//1 19//1
f 52//2 31//2 7//2 30//2
f 48//3 26//3 6//3 18//3
f 44//4 30//4 7//4 22//4
f 40//5 32//5 8//5 24//5
f 36//6 12//6 4//6 23//6
f 28//6 34//6 24//6 8//6
f 34//6 36//6 23//6 24//6
f 5//6 14//6 33//6 27//6
f 27//6 33//6 34//6 28//6
f 14//6 13//6 35//6 33//6
f 33//6 35//6 36//6 34//6
f 13//6 1//6 11//6 35//6
f 35//6 11//6 12//6 36//6
f 20//5 38//5 23//5 4//5
f 38//5 40//5 24//5 23//5
f 3//5 21//5 37//5 19//5
f 19//5 37//5 38//5 20//5
f 21//5 22//5 39//5 37//5
f 37//5 39//5 40//5 38//5
f 22//5 7//5 31//5 39//5
f 39//5 31//5 32//5 40//5
f 16//4 42//4 21//4 3//4
f 42//4 44//4 22//4 21//4
f 2//4 17//4 41//4 15//4
f 15//4 41//4 42//4 16//4
f 17//4 18//4 43//4 41//4
f 41//4 43//4 44//4 42//4
f 18//4 6//4 29//4 43//4
f 43//4 29//4 30//4 44//4
f 10//3 46//3 17//3 2//3
f 46//3 48//3 18//3 17//3
f 1//3 13//3 45//3 9//3
f 9//3 45//3 46//3 10//3
f 13//3 14//3 47//3 45//3
f 45//3 47//3 48//3 46//3
f 14//3 5//3 25//3 47//3
f 47//3 25//3 26//3 48//3
f 26//7 50//7 29//7 6//7
f 50//8 52//8 30//8 29//8
f 5//9 27//9 49//9 25//9
f 25//10 49//10 50//10 26//10
f 27//11 28//11 51//11 49//11
f 49//6 51//6 59//6 57//6
f 28//12 8//12 32//12 51//12
f 51//13 32//13 31//13 52//13
f 12//14 54//14 20//14 4//14
f 54//15 56//15 19//15 20//15
f 1//16 9//16 53//16 11//16
f 11//17 53//17 54//17 12//17
f 9//18 10//18 55//18 53//18
f 53//19 55//19 56//19 54//19
f 10//20 2//20 15//20 55//20
f 55//21 15//21 16//21 56//21
f 59//22 60//22 64//22 63//22
f 50//3 49//3 57//3 58//3
f 52//4 50//4 58//4 60//4
f 51//5 52//5 60//5 59//5
f 61//6 63//6 67//6 77//6 78//6 79//6 80//6 65//6
f 57//23 59//23 63//23 61//23
f 58//24 57//24 61//24 62//24
f 60//25 58//25 62//25 64//25
f 62//3 61//3 65//3 69//3 70//3 71//3 72//3 66//3
f 64//4 62//4 66//4 84//4 83//4 82//4 81//4 68//4
f 63//5 64//5 68//5 76//5 75//5 74//5 73//5 67//5
f 85//26 89//26 90//26 86//26
f 86//26 90//26 91//26 87//26
f 87//26 91//26 92//26 88//26
f 89//26 93//26 94//26 90//26
f 90//26 94//26 95//26 91//26
f 91//26 95//26 96//26 92//26
f 93//26 97//26 98//26 94//26
f 94//26 98//26 99//26 95//26
f 95//26 99//26 100//26 96//26
f 101//26 102//26 103//26 104//26
f 76//6 102//6 101//6 100//6
f 68//5 103//5 102//5 76//5
f 81//4 104//4 103//4 68//4
f 100//3 101//3 104//3 81//3
f 105//26 106//26 107//26 108//26
f 88//6 106//6 105//6 72//6
f 84//5 107//5 106//5 88//5
f 66//4 108//4 107//4 84//4
f 72//3 105//3 108//3 66//3
f 109//26 110//26 111//26 112//26
f 92//6 110//6 109//6 88//6
f 83//5 111//5 110//5 92//5
f 84//4 112//4 111//4 83//4
f 88//3 109//3 112//3 84//3
f 113//26 114//26 115//26 116//26
f 96//6 114//6 113//6 92//6
f 82//5 115//5 114//5 96//5
f 83//4 116//4 115//4 82//4
f 92//3 113//3 116//3 83//3
f 117//26 118//26 119//26 120//26
f 100//6 118//6 117//6 96//6
f 81//5 119//5 118//5 100//5
f 82//4 120//4 119//4 81//4
f 96//3 117//3 120//3 82//3
f 121//26 122//26 123//26 124//26
f 80//6 122//6 121//6 65//6
f 85//5 123//5 122//5 80//5
f 69//4 124//4 123//4 85//4
f 65//3 121//3 124//3 69//3
f 125//26 126//26 127//26 128//26
f 85//6 126//6 125//6 69//6
f 86//5 127//5 126//5 85//5
f 70//4 128//4 127//4 86//4
f 69//3 125//3 128//3 70//3
f 129//26 130//26 131//26 132//26
f 86//6 130//6 129//6 70//6
f 87//5 131//5 130//5 86//5
f 71//4 132//4 131//4 87//4
f 70//3 129//3 132//3 71//3
f 133//26 134//26 135//26 136//26
f 87//6 134//6 133//6 71//6
f 88//5 135//5 134//5 87//5
f 72//4 136//4 135//4 88//4
f 71//3 133//3 136//3 72//3
f 137//26 138//26 139//26 140//26
f 79//6 138//6 137//6 80//6
f 89//5 139//5 138//5 79//5
f 85//4 140//4 139//4 89//4
f 80//3 137//3 140//3 85//3
f 141//26 142//26 143//26 144//26
f 78//6 142//6 141//6 79//6
f 93//5 143//5 142//5 78//5
f 89//4 144//4 143//4 93//4
f 79//3 141//3 144//3 89//3
f 145//26 146//26 147//26 148//26
f 77//6 146//6 145//6 78//6
f 97//5 147//5 146//5 77//5
f 93//4 148//4 147//4 97//4
f 78//3 145//3 148//3 93//3
f 149//26 150//26 151//26 152//26
f 67//6 150//6 149//6 77//6
f 73//5 151//5 150//5 67//5
f 97//4 152//4 151//4 73//4
f 77//3 149//3 152//3 97//3
f 153//26 154//26 155//26 156//26
f 73//6 154//6 153//6 97//6
f 74//5 155//5 154//5 73//5
f 98//4 156//4 155//4 74//4
f 97//3 153//3 156//3 98//3
f 157//26 158//26 159//26 160//26
f 74//6 158//6 157//6 98//6
f 75//5 159//5 158//5 74//5
f 99//4 160//4 159//4 75//4
f 98//3 157//3 160//3 99//3
f 161//26 162//26 163//26 164//26
f 75//6 162//6 161//6 99//6
f 76//5 163//5 162//5 75//5
f 100//4 164//4 163//4 76//4
f 99//3 161//3 164//3 100//3

 

The

objFrom

field should contain the

ResourceLocation

of the file it's parsing, is this your OBJ model?

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Then I'm not too sure what's going on. Try stepping through every line rather than just the invalid one and see if you can figure out where it's reading from.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

  • Author

Well, it appears to be reading from the correct-

Wait no, I'm stupid. It's trying to load from a .json of the same file name. Now I feel silly.

 

So, now it says it's missing a .mtl file. I suppose I'll just generate one with Blender and hope for the best.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.