Hello, i just downloaded Unmined yesterday and it seems that it cannot load all the chunks. i attached a picture and it only showed a few chunks. is there a way to make Unmined show all the chunks?
Unmined will only show the world save as it exists, those chunks are missing because you haven't loaded those chunks in your game. Go to those areas in game to generate the chunks then Unmined will be able to display them.
Rollback Post to RevisionRollBack
D_B
To tell them how to live is to prevent them living.
Is that linux specific advise? I'm on apple silicon and get an error that simply says "The application “uNmINeD” can’t be opened." If this applies to MacOS, too, how would I fix this? It runs pretty well through Rosetta 2, but I imagine native performance is better. Thank you.
Edit: I'm new to this but I meant to reply to this message.
I don't know about the zoom levels in the program, but it might be limited to system memory or video display memory. As for exporting, the problem with that is you end up with an image thousands or hundreds of thousands (maybe even millions) of pixels on a side and there's not many programs that can display a single image that large. Photoshop may be able to if you have the system and video memory installed, but it would probably run pretty slow doing so, unless you've got a beast of a CPU and GPU and even then it might struggle. For really huge maps, the only real option is to export in some type of map viewer format like Google maps which can create thousands of files and take several gigabytes of drive space but should be able to be viewed in a browser and zoomed in and out but viewing the entire map would again be limited. The other option would be to downsample the image to a reasonable size so that it can be displayed under normal circumstances, but would not have the 1:1 detail of a full map.
Rollback Post to RevisionRollBack
D_B
To tell them how to live is to prevent them living.
Not working on M1 Macbook Pro running Mac OS 11.4 – no error message or warnings of any kind, and the only clue/information available in console is the following:
Aug 3 21:27:22 1001101101-MBP com.apple.xpc.launchd[1]: Coalition Cache Hit: app<application.net.unmined.avalonia.69574946.69574975(501)> [140608]
FROM mcr.microsoft.com/dotnet/runtime:6.0
RUN apt update
RUN apt install -y wget
RUN wget https://unmined.net/download/unmined-cli-linux-x64/ -O /tmp/unmined.tar.gz
RUN mkdir -p /unmined
RUN tar zxf /tmp/unmined.tar.gz -C /unmined --strip-components=1
RUN chmod +x /unmined/unmined-cli
WORKDIR /unmined
It works fine, but I've got some questions regarding the web rendering cli usage:
As you can see, I tried to enable ground xray from cli, but I can't figure out how I can display it from the rendered map ?
Is there a way to render the players positions while rendering the web map ?
I use a simple black background color but it does not change the jpeg background tiles color. Is there a way to use this color for the empty tiles too ?
Anyway, I can now automatically render a daily web map for my favorites servers, thanks to uNmINeD and thanks to Megasys !!
Anyone know of recommended CLI settings for rendering the nether? Normally I only get the topmost layer, which shows nothing. (Doing a web render, by the way.)
First, thanks so much for this software. I just found uNmINeD earlier this month, and it's one of the best mapping tools I've ever used.
But, starting yesterday I'm having a problem I was hoping someone could help me with: when I load up my world (a fairly new save, created in Java 1.19.2, running on Windows 10 64 bit) initially uNmINeD renders the world as expected, but when I try to move the map view in any direction (away from world spawn) it crashes to desktop. This was not happening the day before yesterday. I did play a bit in the interim, so my world would have changed slightly.
Is there a way to fix this error and get back to using your great tool? I tried re-downloading uNmINeD, but the fresh version behaved exactly as the one I had did.
I'm getting this error with current? CLI v0.18.16-dev version.
I've been getting them off and on with the previous versions as well.
Thanks!
[07:59:16 ERR] (RegionChunkProcessor) Exception IndexOutOfRangeException: Index was outside the bounds of the array.
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Unmined.Core.Render.Terrain.TerrainShader.F[TPixel](Span2D`1 elevations, Span2D`1 caveheights, Int16 e, Int16 c, Int32 x, Int32 z, Memory`1 destPixels, Int32 destStride, Int32 imageX, Int32 imageY, Int32 zoomFactor, TPixel color, Int32 dx, Int32 dy, Int32 dtx, Int32 dty, Int32 sx, Int32 sz)
at Unmined.Core.Render.Terrain.TerrainShader.ApplyCaveEnhancements[TPixel](Span2D`1 elevations, Span2D`1 caveheights, Int32 bx, Int32 bz, Int32 w, Int32 zoomFactor, Memory`1 destPixels, Int32 destStride, Int32 imageX, Int32 imageY)
at Unmined.Core.Render.Terrain.TerrainRendererState`1.ApplyShade(BlockRect blockRect, ElevationMap elevationMap, ShadowCaster shadowCaster)
at Unmined.Core.Processing.TerrainRendererChunkProcessorRequest`1.<>c__DisplayClass51_0.b__0()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread , ExecutionContext , ContextCallback , Object )
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& , Thread )
--- End of stack trace from previous location ---
at Unmined.Core.Processing.TerrainRendererChunkProcessorRequest`1.Done()
at Unmined.Core.Processing.TerrainRendererChunkProcessorRequest`1.Done()
at Unmined.Core.ChunkProcessor.RegionChunkProcessorService.<>c__DisplayClass27_0.<b__1>d.MoveNext()
I'm a rather long time user of Unmined. For many, many years (goodness, close to ten?) I've used Unmined. I wanted to say thank you for the program, but also ask if you have any input for recent crashes I seem to be having. I didn't see a contact on the Unmined website, but I saw the link here, so I hope you're still active enough to see this.
The crashes all occur in a way where it only ever happens once I go to "interact" (specifically, click) within the map portion of the map itself. The program will not immediately respond and then just terminate a couple of seconds later.
They seem to all share the same initial one-third or so of the content, but the last bit typically varies. Primarily, they all have this is the main header cause...
"System.NullReferenceException: Object reference not set to an instance of an object."
I have four of them. The first two happened late December on a version I was using fine without issues for a long time, but I noticed it was slightly out of date, so I updated to "0.18.18-dev" and they are still occurring. The latest two were yesterday, and then now today. The latest one actually happened right after opening it, which never happened before. I have also carried a very old map (from 1.2.5) into the current Minecraft version and have been playing that more lately rather than my more recent map (1.16.x to 1.19.x), so I'm wondering if the crashes might be something with that specific map too? I can't remember if they all happened when viewing that one particular save, though.
Anyway, I can share all four crash messages if they are helpful, at least insofar as Event Viewer shows them (which seems to be an exact copy of what the "unmined.crashlog" itself shows), but for now I'll just show the unmined.crashlog itself. I'm not at all a programmer, so I might be mistaken, but I have the impression these may be the same larger error happening as the initial part is always the same so for now I'll just include the one. Do ask if the others may be helpful, though.
System.NullReferenceException: Object reference not set to an instance of an object.
at Avalonia.Utilities.WeakHashList`1.GetAlive(Func`1 factory) in /_/src/Avalonia.Base/Utilities/WeakHashList.cs:line 229
at Avalonia.Utilities.WeakEvent`2.Subscription.OnEvent(Object sender, TEventArgs eventArgs) in /_/src/Avalonia.Base/Utilities/WeakEvent.cs:line 157
at System.Reactive.AnonymousSafeObserver`1.OnNext(T value) in /_/Rx.NET/Source/src/System.Reactive/AnonymousSafeObserver.cs:line 54
at System.Reactive.Linq.ObservableImpl.SelectMany`2.EnumerableSelector._.OnNext(TSource value) in /_/Rx.NET/Source/src/System.Reactive/Linq/Observable/SelectMany.cs:line 1375
at System.Reactive.Linq.ObservableImpl.Buffer`2.Boundaries._.BufferClosingObserver.OnNext(TBufferClosing value) in /_/Rx.NET/Source/src/System.Reactive/Linq/Observable/Buffer.cs:line 829
at System.Reactive.Linq.ObservableImpl.Merge`1.Observables._.InnerObserver.OnNext(TSource value) in /_/Rx.NET/Source/src/System.Reactive/Linq/Observable/Merge.cs:line 240
at System.Reactive.Subjects.Subject`1.OnNext(T value) in /_/Rx.NET/Source/src/System.Reactive/Subjects/Subject.cs:line 145
at ReactiveUI.IReactiveObjectExtensions.ExtensionState`1.RaisePropertyChanged(String propertyName) in /_/src/ReactiveUI/ReactiveObject/IReactiveObjectExtensions.cs:line 397
at ReactiveUI.OAPHCreationHelperMixin.<>c__DisplayClass12_0`2.<ObservableToProperty>b__0(TRet _) in /_/src/ReactiveUI/ObservableForProperty/OAPHCreationHelperMixin.cs:line 732
at ReactiveUI.ObservableAsPropertyHelper`1.<>c__DisplayClass8_0.<.ctor>b__2(T x) in /_/src/ReactiveUI/ObservableForProperty/ObservableAsPropertyHelper.cs:line 161
at System.Reactive.AnonymousSafeObserver`1.OnNext(T value) in /_/Rx.NET/Source/src/System.Reactive/AnonymousSafeObserver.cs:line 43
at System.Reactive.ObserveOnObserverNew`1.DrainStep(ConcurrentQueue`1 q) in /_/Rx.NET/Source/src/System.Reactive/Internal/ScheduledObserver.cs:line 561
at System.Reactive.ObserveOnObserverNew`1.DrainShortRunning(IScheduler recursiveScheduler) in /_/Rx.NET/Source/src/System.Reactive/Internal/ScheduledObserver.cs:line 507
at System.Reactive.ObserveOnObserverNew`1.<>c.<.cctor>b__17_0(IScheduler scheduler, ObserveOnObserverNew`1 self) in /_/Rx.NET/Source/src/System.Reactive/Internal/ScheduledObserver.cs:line 497
at System.Reactive.Concurrency.CurrentThreadScheduler.Schedule[TState](TState state, TimeSpan dueTime, Func`3 action) in /_/Rx.NET/Source/src/System.Reactive/Concurrency/CurrentThreadScheduler.cs:line 148
at System.Reactive.ObserveOnObserverNew`1.Schedule() in /_/Rx.NET/Source/src/System.Reactive/Internal/ScheduledObserver.cs:line 477
at System.Reactive.ObserveOnObserverNew`1.OnNext(T value) in /_/Rx.NET/Source/src/System.Reactive/Internal/ScheduledObserver.cs:line 462
at System.Reactive.Subjects.Subject`1.OnNext(T value) in /_/Rx.NET/Source/src/System.Reactive/Subjects/Subject.cs:line 145
at ReactiveUI.ScheduledSubject`1.OnNext(T value) in /_/src/ReactiveUI/Scheduler/ScheduledSubject.cs:line 59
at System.Reactive.SafeObserver`1.WrappingSafeObserver.OnNext(TSource value) in /_/Rx.NET/Source/src/System.Reactive/Internal/SafeObserver.cs:line 30
at System.Reactive.IdentitySink`1.OnNext(T value) in /_/Rx.NET/Source/src/System.Reactive/Internal/IdentitySink.cs:line 15
at System.Reactive.Linq.ObservableImpl.Select`2.Selector._.OnNext(TSource value) in /_/Rx.NET/Source/src/System.Reactive/Linq/Observable/Select.cs:line 47
at System.Reactive.ObserveOnObserverNew`1.DrainStep(ConcurrentQueue`1 q) in /_/Rx.NET/Source/src/System.Reactive/Internal/ScheduledObserver.cs:line 573
at System.Reactive.ObserveOnObserverNew`1.DrainShortRunning(IScheduler recursiveScheduler) in /_/Rx.NET/Source/src/System.Reactive/Internal/ScheduledObserver.cs:line 513
at Avalonia.Threading.AvaloniaScheduler.<>c__DisplayClass4_1`1.<Schedule>b__1() in /_/src/Avalonia.Base/Threading/AvaloniaScheduler.cs:line 45
at Avalonia.Threading.JobRunner.RunJobs(Nullable`1 priority) in /_/src/Avalonia.Base/Threading/JobRunner.cs:line 38
at Avalonia.Win32.Win32Platform.WndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam) in /_/src/Windows/Avalonia.Win32/Win32Platform.cs:line 276
at Avalonia.Win32.Interop.UnmanagedMethods.DispatchMessage(MSG& lpmsg)
at Avalonia.Win32.Win32Platform.RunLoop(CancellationToken cancellationToken) in /_/src/Windows/Avalonia.Win32/Win32Platform.cs:line 203
at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken) in /_/src/Avalonia.Base/Threading/Dispatcher.cs:line 61
at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args) in /_/src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 120
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime[T](T builder, String[] args, ShutdownMode shutdownMode) in /_/src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 209
at Unmined.AvaloniaApp.Program.Main(String[] args)
And here's the additional information Event Viewer has on it...
"Application: unmined.exe
CoreCLR Version: 6.0.1322.58009
.NET Version: 6.0.13
Description: The process was terminated due to an unhandled exception."
Again, I'm using Unmined 0.18.18-dev and I also updated .NET to the latest when I updated Unmined. I sort of just realized while typing this that your website lists this variant as necessary for those on Windows 7 (which I am not using), though I'm not sure if using on newer versions should be avoided, or if I should try the non-.NET ones? If nothing else, I'll give that a try. Either way, maybe the crash report is still useful is fixing something if a problem does exist.
Thank you, and if you need more information, please ask.
Thank you for the detailed report. This crash is not related to Windows or .NET version I think. Please try 0.18.19 released today, it should work without these random crashes. Please report here or on discord if you still experience crashes with 0.18.19.
Luckily I've had no crashes since making this post, and at one point I went about a month without one, so time will tell.
Purely curiosity, but do you have any thoughts on if the crashes may have been something specific to that map/save, or was it a case of "correlation doesn't equal causation" and I just happened to get them on that older save/map? I've only had four crashes after all so that's a small sample size. I was just wondering because I went a long time with no crashes, then started having them the last few months (which is when I moved back to my older world and updated it).
Love this software..
Managed to crash your latest version. 0-18.21-dev
Opening a 1.18.2 forge map this works perfectly.
Clicked on chunk inspector
then clicked on Blocks and it crashed
Just checked again, it crashed immediatly on clicking blocks
Tried a second map non forge exactly the same. Crashes on clicking blocks.
Windows 10 fully up to date.
If you are taking sugestions,
I would love to be able to select a single block and have it rendered in 3D with a slider that allows you to remove blocks from the top down so you can see the mineral resources.
Just going to throw out for anyone else that ends up looking for this.This is a complete guide to setting up a Minecraft server, Unmined CLI instance, and a web page all in a single docker stack.
I run Minecraft in a docker container on my server, and I wanted a solution to have an Unmined map running alongside it, also dockerized. I will be approaching this topic assuming that you have literally never used docker before.
First, I would install Portainer Community Edition. We will use Portainer to create our image and to manage our installation. Make sure to setup a local environment. You can find your new Portainer web-gui at https://MY_SERVER_IP:9443
After you get Portainer setup, navigate to the "Images" tab of your environment and select "Build a new image" on the right hand side. The next window will default to the "Web editor" tab, which is perfect. Just add a name in the "name" field at the top. I recommend something like unmined-{VERSION NUMBER}, e.g. "unmined-1.19.2-dev". Then paste the following into the large text box at the bottom. This image setup is from the user "loranger" on the Minecraft forums.
FROM mcr.microsoft.com/dotnet/runtime:6.0
RUN apt update
RUN apt install -y wget
RUN wget https://unmined.net/download/unmined-cli-linux-x64/ -O /tmp/unmined.tar.gz
RUN mkdir -p /unmined
RUN tar zxf /tmp/unmined.tar.gz -C /unmined --strip-components=1
RUN chmod +x /unmined/unmined-cli
WORKDIR /unmined
After you paste that information into the window, select "Build the image" at the bottom of the screen. After a while it should finish. Congrats, you've made your Unmined Docker image!
Now, navigate to the "Stacks" page from the left side menu. From here, click "Add stack" in the top right of the screen. Stacks are collections of docker containers. In our case, we will end up with 3 containers: Our Minecraft server, Unmined, and a webpage. First, we will setup our Minecraft Server. There are a lot of ways to do this, but I will be using itzg/minecraft-server.
In our stack we want to add a name to the entire stack, e.g. "Minecraft", and then in the big text box will go our docker-compose information. Docker-Compose is a plugin for Docker that allows for easier creation of personalized containers. Below is an example of my own docker-compose file. I HIGHLYrecommend reading through the Docker-compose and Docker documentation to understand what all is going on here, but I will add comments to explain what you will need to change for yourself.
minecraft_server:
image: itzg/minecraft-server
container_name: minecraft_server
environment:
EULA: "true"
VERSION: "1.19.4" # change this to whatever minecraft version you want to run
TYPE: "VANILLA" # change this to whatever type of server you are running
UID: 1000 # Only change this if you have a file permission issue, and you know what you're doing.
PID: 1000
SERVER_PORT: 25565 #Only change this if you also change the second value (to the right of the : symbol) in the "ports" section down below
MODE: "survival" # change this to whatever game mode you like
MEMORY: "4G" # change this to how much memory you want the server to use. The number indicates the value, and the G indicates gigabytes
ports:
- "25566:25566" # Only change the right hand value if you know what you're doing, and have changed the "SERVER_PORT" field above
volumes:
- my/minecraft/server:/data # set the left hand side to wherever you want your minecraft server files to be placed.
stdin_open: true
tty: true
restart: unless-stopped
There are other options that are available to you, check the itzg/minecraft-server documentation linked above, but this is a basic setup. For now, go ahead and select "Deploy the stack" at the bottom of the screen. After you do, you'll be moved to the "Stack details" screen. Wait, and probably refresh the page, until the minecraft_server container has a green "healthy" or "running" state. Once it does, select the "Stop this stack" button at the top. You can now navigate to the place you chose to have your server files installed to and make any changes or add any files for migration that you need to.
Next, we are going to install Unmined. Select the "Editor" tab at the top of the "Stack details" window. You should see your Minecraft server docker-compose information in the large text box. Go to the bottom and hit enter once or twice to give yourself some space, and hit tab. This will align your text where it needs to be. Indentation matters. Then, paste this docker-compose. This docker-compose is also based on the user "loranger" on the Minecraft forums.
unmined:
image: unmined:1.19.2-dev # change this to whatever your set your Unmined image name to be.
container_name: unmined
user: 1000:1000 # If you have file permission issues, you can change the user here.
volumes:
- /my/mineacraft/server/world:/world:ro #change this to the location of your minecraft world
- /my/unmined/installation/map:/map #change this to wherever you want your unmined installation
entrypoint: ['/unmined/unmined-cli', 'web', 'render', '--shadows', 'true', '--dimension', '0', '--zoomin', '3', '--zoomout', '1', '--world', '/world', '--output', '/map'] # this is where you set your launch parameters. Modify this as needed.
After you modify anything you need to, just select "Update this stack" and everything should run. On the "Stack details" page, you can select the first button under "Quick Actions" next to the "unmined" container to see the container logs. Once the map has finished updating, you can go ahead and stop the stack like we did before.
Now, we can put up our web page. There are a lot of ways to do this, but we will be using the httpd image as it is fairly small, and it will get the job done. Go ahead an open up the editor like we did to add Unmined, and insert this docker-compose information at the bottom of the window.
unmined_page:
image: httpd
container_name: unmined_page
restart: unless-stopped
volumes:
- /my/unmined/installation/unmined.index.html:/usr/local/apache2/htdocs/index.html # set this to the location of your unmined.index.html file. This line will effectively just rename the file and create a link to the original for httpd to use.
- /my/unmined/installation:/usr/local/apache2/htdocs # set this to the unmined installation. This should be the parent folder for the unmined.index.html file.
ports:
- 8080:80 # you can change the port on the left to whatever you want, but it's probably best to leave it alone.
After selecting "Update the stack" you should be able to navigate to "http://MY_SERVER_IP:8080" and see your unmined map! At this point you can either port forward your webpage, setup a reverse proxy, or whatever other mechanism you like to be able to view your map remotely.
I hope this is able to help someone. It took me a bit to figure all of this out for the specifics of Unmined, so with any luck this will save someone else some time!
For some reason I am unable to edit my post, but the ports for the Minecraft server should be changed to "25565:25565". I accidentally forgot to change them when I copied over my docker-compose file.
I'm a new user of Unmined and I like it a lot. I used to use Overviewer, but it has apparently gone extinct, so too bad. Unmined is the new Overviewer for me.
I have just one question : is it possible to set Undermined to use a specific texture pack for its rendering ? I have a custom pack, and I would very much like to see my world map rendered in it.
Fixed in 0.18.9
Hello, i just downloaded Unmined yesterday and it seems that it cannot load all the chunks. i attached a picture and it only showed a few chunks. is there a way to make Unmined show all the chunks?
Unmined will only show the world save as it exists, those chunks are missing because you haven't loaded those chunks in your game. Go to those areas in game to generate the chunks then Unmined will be able to display them.
D_B
To tell them how to live is to prevent them living.
Is that linux specific advise? I'm on apple silicon and get an error that simply says "The application “uNmINeD” can’t be opened." If this applies to MacOS, too, how would I fix this? It runs pretty well through Rosetta 2, but I imagine native performance is better. Thank you.
Edit: I'm new to this but I meant to reply to this message.
This is exactly what I need. I can't believe I've only just found this program (I haven't been hiding under a rock either)
Signature removed by popular demand.
Hello!
This Software is very fantastic!
but I have a question.
I was going to see a world with a capacity of over 100gb.
However, the map's zoom can load well up to 1:32 and not up to 1:64 or higher.
Is it impossible to operate beyond this 1:64 zoom?
Also, can I use the option beyond zoom 1:32 to export images?
I don't know about the zoom levels in the program, but it might be limited to system memory or video display memory. As for exporting, the problem with that is you end up with an image thousands or hundreds of thousands (maybe even millions) of pixels on a side and there's not many programs that can display a single image that large. Photoshop may be able to if you have the system and video memory installed, but it would probably run pretty slow doing so, unless you've got a beast of a CPU and GPU and even then it might struggle. For really huge maps, the only real option is to export in some type of map viewer format like Google maps which can create thousands of files and take several gigabytes of drive space but should be able to be viewed in a browser and zoomed in and out but viewing the entire map would again be limited. The other option would be to downsample the image to a reasonable size so that it can be displayed under normal circumstances, but would not have the 1:1 detail of a full map.
D_B
To tell them how to live is to prevent them living.
Not working on M1 Macbook Pro running Mac OS 11.4 – no error message or warnings of any kind, and the only clue/information available in console is the following:
Hi,
I just discovered this awesome tool in order to generate automatically maps from servers I own.
I tried on my mac m1, but failed to use it, so I fell back to the cli version using docker.
Here is my docker-compose.yml and my Dockerfile, for those interested in
It works fine, but I've got some questions regarding the web rendering cli usage:
As you can see, I tried to enable ground xray from cli, but I can't figure out how I can display it from the rendered map ?
Is there a way to render the players positions while rendering the web map ?
I use a simple black background color but it does not change the jpeg background tiles color. Is there a way to use this color for the empty tiles too ?
Anyway, I can now automatically render a daily web map for my favorites servers, thanks to uNmINeD and thanks to Megasys !!
Anyone know of recommended CLI settings for rendering the nether? Normally I only get the topmost layer, which shows nothing. (Doing a web render, by the way.)
First, thanks so much for this software. I just found uNmINeD earlier this month, and it's one of the best mapping tools I've ever used.
But, starting yesterday I'm having a problem I was hoping someone could help me with: when I load up my world (a fairly new save, created in Java 1.19.2, running on Windows 10 64 bit) initially uNmINeD renders the world as expected, but when I try to move the map view in any direction (away from world spawn) it crashes to desktop. This was not happening the day before yesterday. I did play a bit in the interim, so my world would have changed slightly.
Is there a way to fix this error and get back to using your great tool? I tried re-downloading uNmINeD, but the fresh version behaved exactly as the one I had did.
I'm getting this error with current? CLI v0.18.16-dev version.
I've been getting them off and on with the previous versions as well.
Thanks!
Great software!
It would be even better if one could include markers on the exported map.
Hello!
I'm a rather long time user of Unmined. For many, many years (goodness, close to ten?) I've used Unmined. I wanted to say thank you for the program, but also ask if you have any input for recent crashes I seem to be having. I didn't see a contact on the Unmined website, but I saw the link here, so I hope you're still active enough to see this.
The crashes all occur in a way where it only ever happens once I go to "interact" (specifically, click) within the map portion of the map itself. The program will not immediately respond and then just terminate a couple of seconds later.
They seem to all share the same initial one-third or so of the content, but the last bit typically varies. Primarily, they all have this is the main header cause...
"System.NullReferenceException: Object reference not set to an instance of an object."
I have four of them. The first two happened late December on a version I was using fine without issues for a long time, but I noticed it was slightly out of date, so I updated to "0.18.18-dev" and they are still occurring. The latest two were yesterday, and then now today. The latest one actually happened right after opening it, which never happened before. I have also carried a very old map (from 1.2.5) into the current Minecraft version and have been playing that more lately rather than my more recent map (1.16.x to 1.19.x), so I'm wondering if the crashes might be something with that specific map too? I can't remember if they all happened when viewing that one particular save, though.
Anyway, I can share all four crash messages if they are helpful, at least insofar as Event Viewer shows them (which seems to be an exact copy of what the "unmined.crashlog" itself shows), but for now I'll just show the unmined.crashlog itself. I'm not at all a programmer, so I might be mistaken, but I have the impression these may be the same larger error happening as the initial part is always the same so for now I'll just include the one. Do ask if the others may be helpful, though.
And here's the additional information Event Viewer has on it...
"Application: unmined.exe
CoreCLR Version: 6.0.1322.58009
.NET Version: 6.0.13
Description: The process was terminated due to an unhandled exception."
Again, I'm using Unmined 0.18.18-dev and I also updated .NET to the latest when I updated Unmined. I sort of just realized while typing this that your website lists this variant as necessary for those on Windows 7 (which I am not using), though I'm not sure if using on newer versions should be avoided, or if I should try the non-.NET ones? If nothing else, I'll give that a try. Either way, maybe the crash report is still useful is fixing something if a problem does exist.
Thank you, and if you need more information, please ask.
Hello!
Thank you for the detailed report. This crash is not related to Windows or .NET version I think. Please try 0.18.19 released today, it should work without these random crashes. Please report here or on discord if you still experience crashes with 0.18.19.
Oh! Thank you! I'll give that a try.
Luckily I've had no crashes since making this post, and at one point I went about a month without one, so time will tell.
Purely curiosity, but do you have any thoughts on if the crashes may have been something specific to that map/save, or was it a case of "correlation doesn't equal causation" and I just happened to get them on that older save/map? I've only had four crashes after all so that's a small sample size. I was just wondering because I went a long time with no crashes, then started having them the last few months (which is when I moved back to my older world and updated it).
Love this software..
Managed to crash your latest version. 0-18.21-dev
Opening a 1.18.2 forge map this works perfectly.
Clicked on chunk inspector
then clicked on Blocks and it crashed
Just checked again, it crashed immediatly on clicking blocks
Tried a second map non forge exactly the same. Crashes on clicking blocks.
Windows 10 fully up to date.
If you are taking sugestions,
I would love to be able to select a single block and have it rendered in 3D with a slider that allows you to remove blocks from the top down so you can see the mineral resources.
Similar to this web page.
https://www.xiaoji-chen.com/2017/minecraft-chunk-viewer
Just a thought.
Cheers
Mac.
Just going to throw out for anyone else that ends up looking for this.This is a complete guide to setting up a Minecraft server, Unmined CLI instance, and a web page all in a single docker stack.
I run Minecraft in a docker container on my server, and I wanted a solution to have an Unmined map running alongside it, also dockerized. I will be approaching this topic assuming that you have literally never used docker before.
First, I would install Portainer Community Edition. We will use Portainer to create our image and to manage our installation. Make sure to setup a local environment. You can find your new Portainer web-gui at https://MY_SERVER_IP:9443
After you get Portainer setup, navigate to the "Images" tab of your environment and select "Build a new image" on the right hand side. The next window will default to the "Web editor" tab, which is perfect. Just add a name in the "name" field at the top. I recommend something like unmined-{VERSION NUMBER}, e.g. "unmined-1.19.2-dev". Then paste the following into the large text box at the bottom. This image setup is from the user "loranger" on the Minecraft forums.
After you paste that information into the window, select "Build the image" at the bottom of the screen. After a while it should finish. Congrats, you've made your Unmined Docker image!
Now, navigate to the "Stacks" page from the left side menu. From here, click "Add stack" in the top right of the screen. Stacks are collections of docker containers. In our case, we will end up with 3 containers: Our Minecraft server, Unmined, and a webpage. First, we will setup our Minecraft Server. There are a lot of ways to do this, but I will be using itzg/minecraft-server.
In our stack we want to add a name to the entire stack, e.g. "Minecraft", and then in the big text box will go our docker-compose information. Docker-Compose is a plugin for Docker that allows for easier creation of personalized containers. Below is an example of my own docker-compose file. I HIGHLY recommend reading through the Docker-compose and Docker documentation to understand what all is going on here, but I will add comments to explain what you will need to change for yourself.
There are other options that are available to you, check the itzg/minecraft-server documentation linked above, but this is a basic setup. For now, go ahead and select "Deploy the stack" at the bottom of the screen. After you do, you'll be moved to the "Stack details" screen. Wait, and probably refresh the page, until the minecraft_server container has a green "healthy" or "running" state. Once it does, select the "Stop this stack" button at the top. You can now navigate to the place you chose to have your server files installed to and make any changes or add any files for migration that you need to.
Next, we are going to install Unmined. Select the "Editor" tab at the top of the "Stack details" window. You should see your Minecraft server docker-compose information in the large text box. Go to the bottom and hit enter once or twice to give yourself some space, and hit tab. This will align your text where it needs to be. Indentation matters. Then, paste this docker-compose. This docker-compose is also based on the user "loranger" on the Minecraft forums.
After you modify anything you need to, just select "Update this stack" and everything should run. On the "Stack details" page, you can select the first button under "Quick Actions" next to the "unmined" container to see the container logs. Once the map has finished updating, you can go ahead and stop the stack like we did before.
Now, we can put up our web page. There are a lot of ways to do this, but we will be using the httpd image as it is fairly small, and it will get the job done. Go ahead an open up the editor like we did to add Unmined, and insert this docker-compose information at the bottom of the window.
After selecting "Update the stack" you should be able to navigate to "http://MY_SERVER_IP:8080" and see your unmined map! At this point you can either port forward your webpage, setup a reverse proxy, or whatever other mechanism you like to be able to view your map remotely.
I hope this is able to help someone. It took me a bit to figure all of this out for the specifics of Unmined, so with any luck this will save someone else some time!
For some reason I am unable to edit my post, but the ports for the Minecraft server should be changed to "25565:25565". I accidentally forgot to change them when I copied over my docker-compose file.
Hi there !
I'm a new user of Unmined and I like it a lot. I used to use Overviewer, but it has apparently gone extinct, so too bad. Unmined is the new Overviewer for me.
I have just one question : is it possible to set Undermined to use a specific texture pack for its rendering ? I have a custom pack, and I would very much like to see my world map rendered in it.
Oh, I won't hate you if that is an issue :).