nonta1234 / terraining-heightmap-generator

Terraining - Online heightmap generator for "Cities: Skylines".
MIT License
28 stars 4 forks source link

"An attempt was made to use an object that is not, or is no longer, usable" #31

Open JG1995 opened 2 weeks ago

JG1995 commented 2 weeks ago

Is there a hard limit on either image size or zoom level when exporting an image for CS2 using custom settings? If I set "Image Size" to 16384px, or Zoom to higher than 14.57, I get the error message "An attempt was made to use an object that is not, or is no longer, usable". Is this a Mapbox limit? A website limit?

Great website btw, fantastic resource! Would just love the higher res images, I have the API tokens for it after all!

nonta1234 commented 2 weeks ago

This is the first time I've seen that error message. If you don't mind, could you tell me the environment you are using, such as the browser, and the location where you are trying to output?

JG1995 commented 2 weeks ago

This is the first time I've seen that error message. If you don't mind, could you tell me the environment you are using, such as the browser, and the location where you are trying to output?

Thanks for looking into it, let me know if I can provide more details!

image image

nonta1234 commented 2 weeks ago

I tested it and saw an error. There was no problem with Chrome, so I think it's probably a Firefox-specific error. I would like to investigate the cause. Sorry, please try using Chrome.

JG1995 commented 2 weeks ago

I tested it and saw an error. There was no problem with Chrome, so I think it's probably a Firefox-specific error. I would like to investigate the cause. Sorry, please try using Chrome.

Just tested on Edge, since that was what I had on hand, works fine there too. So I guess you're right, just Firefox being weird. Thanks for looking into it though, and thanks for the workaround! Again, if you need more information, feel free to reach out, but I understand this probably isn't a high priority issue given the easy workaround.