If you are having issues with errors popping up that say something along the lines of
[CropGrowthAdjustments] Mod crashed when editing asset 'TileSheets/crops', which may cause errors in-game. Error details: ArgumentOutOfRangeException: The target area is outside the bounds of the target texture. (Parameter 'targetArea'),
this is most likely because of a mod conflict. Before uploading your SMAPI log, please try to remove as much mods as possible (except CropGrowthAdjustments and Grapes of Ferngill) so that the game continues to run and the error still pops up. To do this, you can use the following technique:
1. Remove approximately half of your installed mods, exceptCropGrowthAdjustments and Grapes of Ferngill and major dependencies like Content Patcher. 2. If the error disappears, put this half back in and instead remove the other half. Continue to shuffle until the error starts popping up again. 3. If the error pops up, repeat step 1. 4. Repeat until you get down to around 10-30 mods total.
This should boil it down to a couple of mods that I should then be able to test myself. This will be a huge help in tracking down the conflict. Thanks!
Is there a way to make it so it doesn't use SpecialSpritesForSeasons? For some reason when I delete that I get this error:
[CropGrowthAdjustments] Mod crashed on entry and might not work correctly. Technical details: NullReferenceException: Object reference not set to an instance of an object. at CropGrowthAdjustments.ContentPackManager.InitializeContentPacks(IModHelper helper, IMonitor monitor) in /Users/gzhynko/RiderProjects/stardew-mods/CropGrowthAdjustments/ContentPackManager.cs:line 34 at CropGrowthAdjustments.ModEntry.Entry(IModHelper helper) in /Users/gzhynko/RiderProjects/stardew-mods/CropGrowthAdjustments/ModEntry.cs:line 33 at StardewModdingAPI.Framework.SCore.LoadMods(IModMetadata[] mods, JsonHelper jsonHelper, ContentCoordinator contentCore, ModDatabase modDatabase) in SMAPI\Framework\SCore.cs:line 1765 Thanks in advance.
[table]20:35:37ERRORCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to get the crop data for Albariño. Special sprites won't work.20:35:37ERRORCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to get the crop data for Cabernet Sauvignon. Special sprites won't work.20:35:37ERRORCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to get the crop data for Chardonnay. Special sprites won't work.20:35:37ERRORCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to get the crop data for Gewürztraminer. Special sprites won't work.20:35:37ERRORCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to get the crop data for Grenache. Special sprites won't work.20:35:37ERRORCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to get the crop data for Grüner Veltliner. Special sprites won't work.20:35:37ERRORCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to get the crop data for Ice Grape. Special sprites won't work.20:35:37ERRORCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to get the crop data for Merlot. Special sprites won't work.20:35:37ERRORCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to get the crop data for Moscato. Special sprites won't work.20:35:37ERRORCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to get the crop data for Muscadine. Special sprites won't work.20:35:37ERRORCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to get the crop data for Nebbiolo. Special sprites won't work.20:35:37ERRORCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to get the crop data for Pinot Grigio. Special sprites won't work.20:35:37ERRORCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to get the crop data for Pinot Noir. Special sprites won't work.20:35:37ERRORCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to get the crop data for Riesling. Special sprites won't work.20:35:37ERRORCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to get the crop data for Sangiovese. Special sprites won't work.20:35:37ERRORCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to get the crop data for Sauvignon Blanc. Special sprites won't work.20:35:37ERRORCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to get the crop data for Schiava. Special sprites won't work.20:35:37ERRORCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to get the crop data for Syrah. Special sprites won't work.20:35:37ERRORCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to get the crop data for Viognier. Special sprites won't work.20:35:37ERRORCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to get the crop data for White Zinfandel. Special sprites won't work.20:35:37ERRORCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to get the crop data for Zinfandel. Special sprites won't work.[/table]
[table]0:35:37WARNCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to assign ID to Albariño. Make sure the name you specified matches the desired crop name. Otherwise, if this crop had its produce item nameedited (e.g. via ContentPatcher), make sure to specify the CropProduceItemId in adjustments.json.20:35:37WARNCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to assign ID to Cabernet Sauvignon. Make sure the name you specified matches the desired crop name. Otherwise, if this crop had its produce item nameedited (e.g. via ContentPatcher), make sure to specify the CropProduceItemId in adjustments.json.20:35:37WARNCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to assign ID to Chardonnay. Make sure the name you specified matches the desired crop name. Otherwise, if this crop had its produce item nameedited (e.g. via ContentPatcher), make sure to specify the CropProduceItemId in adjustments.json.20:35:37WARNCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to assign ID to Gewürztraminer. Make sure the name you specified matches the desired crop name. Otherwise, if this crop had its produce item nameedited (e.g. via ContentPatcher), make sure to specify the CropProduceItemId in adjustments.json.20:35:37WARNCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to assign ID to Grenache. Make sure the name you specified matches the desired crop name. Otherwise, if this crop had its produce item nameedited (e.g. via ContentPatcher), make sure to specify the CropProduceItemId in adjustments.json.20:35:37WARNCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to assign ID to Grüner Veltliner. Make sure the name you specified matches the desired crop name. Otherwise, if this crop had its produce item nameedited (e.g. via ContentPatcher), make sure to specify the CropProduceItemId in adjustments.json.20:35:37WARNCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to assign ID to Ice Grape. Make sure the name you specified matches the desired crop name. Otherwise, if this crop had its produce item nameedited (e.g. via ContentPatcher), make sure to specify the CropProduceItemId in adjustments.json.20:35:37WARNCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to assign ID to Merlot. Make sure the name you specified matches the desired crop name. Otherwise, if this crop had its produce item nameedited (e.g. via ContentPatcher), make sure to specify the CropProduceItemId in adjustments.json.20:35:37WARNCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to assign ID to Moscato. Make sure the name you specified matches the desired crop name. Otherwise, if this crop had its produce item nameedited (e.g. via ContentPatcher), make sure to specify the CropProduceItemId in adjustments.json.20:35:37WARNCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to assign ID to Muscadine. Make sure the name you specified matches the desired crop name. Otherwise, if this crop had its produce item nameedited (e.g. via ContentPatcher), make sure to specify the CropProduceItemId in adjustments.json.20:35:37WARNCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to assign ID to Nebbiolo. Make sure the name you specified matches the desired crop name. Otherwise, if this crop had its produce item nameedited (e.g. via ContentPatcher), make sure to specify the CropProduceItemId in adjustments.json.20:35:37WARNCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to assign ID to Pinot Grigio. Make sure the name you specified matches the desired crop name. Otherwise, if this crop had its produce item nameedited (e.g. via ContentPatcher), make sure to specify the CropProduceItemId in adjustments.json.20:35:37WARNCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to assign ID to Pinot Noir. Make sure the name you specified matches the desired crop name. Otherwise, if this crop had its produce item nameedited (e.g. via ContentPatcher), make sure to specify the CropProduceItemId in adjustments.json.20:35:37WARNCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to assign ID to Riesling. Make sure the name you specified matches the desired crop name. Otherwise, if this crop had its produce item nameedited (e.g. via ContentPatcher), make sure to specify the CropProduceItemId in adjustments.json.20:35:37WARNCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to assign ID to Sangiovese. Make sure the name you specified matches the desired crop name. Otherwise, if this crop had its produce item nameedited (e.g. via ContentPatcher), make sure to specify the CropProduceItemId in adjustments.json.20:35:37WARNCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to assign ID to Sauvignon Blanc. Make sure the name you specified matches the desired crop name. Otherwise, if this crop had its produce item nameedited (e.g. via ContentPatcher), make sure to specify the CropProduceItemId in adjustments.json.20:35:37WARNCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to assign ID to Schiava. Make sure the name you specified matches the desired crop name. Otherwise, if this crop had its produce item nameedited (e.g. via ContentPatcher), make sure to specify the CropProduceItemId in adjustments.json.20:35:37WARNCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to assign ID to Syrah. Make sure the name you specified matches the desired crop name. Otherwise, if this crop had its produce item nameedited (e.g. via ContentPatcher), make sure to specify the CropProduceItemId in adjustments.json.20:35:37WARNCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to assign ID to Viognier. Make sure the name you specified matches the desired crop name. Otherwise, if this crop had its produce item nameedited (e.g. via ContentPatcher), make sure to specify the CropProduceItemId in adjustments.json.20:35:37WARNCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to assign ID to White Zinfandel. Make sure the name you specified matches the desired crop name. Otherwise, if this crop had its produce item nameedited (e.g. via ContentPatcher), make sure to specify the CropProduceItemId in adjustments.json.20:35:37WARNCropGrowthAdjustments(CGA) Grapes of Ferngill - SV Addon - Unable to assign ID to Zinfandel. Make sure the name you specified matches the desired crop name. Otherwise, if this crop had its produce item nameedited (e.g. via ContentPatcher), make sure to specify the CropProduceItemId in adjustments.json.[/table]
The Script Builder dose not see any issues when compiling the source code but smapi says that GetObjectId Does not exist in IJsonAssetsApi or relies on another Interface that can't be mapped
hiya, i'm adding another SMAPI log to the Grapes of Ferngill issue. i created a brand new file to test it and it seems i begin getting the error when I hit fall + winter. no errors in spring and summer. https://smapi.io/log/236c498bac904ac3b70e84b486e53a46
46 comments
[CropGrowthAdjustments] Mod crashed when editing asset 'TileSheets/crops', which may cause errors in-game. Error details:
ArgumentOutOfRangeException: The target area is outside the bounds of the target texture. (Parameter 'targetArea'),
this is most likely because of a mod conflict. Before uploading your SMAPI log, please try to remove as much mods as possible (except CropGrowthAdjustments and Grapes of Ferngill) so that the game continues to run and the error still pops up. To do this, you can use the following technique:
1. Remove approximately half of your installed mods, except CropGrowthAdjustments and Grapes of Ferngill and major dependencies like Content Patcher.
2. If the error disappears, put this half back in and instead remove the other half. Continue to shuffle until the error starts popping up again.
3. If the error pops up, repeat step 1.
4. Repeat until you get down to around 10-30 mods total.
This should boil it down to a couple of mods that I should then be able to test myself. This will be a huge help in tracking down the conflict. Thanks!
is there a way to fix this error?
[
{
"CropProduceName": "Ancient Fruit",
"SeasonsToGrowIn": "spring, summer, fall",
"SeasonsToProduceIn": "spring, summer, fall",
"LocationsWithDefaultSeasonBehavior": "indoors",
"SpecialSpritesForSeasons": [
{
"Season": "winter",
"Sprites": "assets/ancientfruit-winter.png",
"LocationsToIgnore": "indoors"
}
]
}
]
Is there a way to make it so it doesn't use SpecialSpritesForSeasons? For some reason when I delete that I get this error:
[CropGrowthAdjustments] Mod crashed on entry and might not work correctly. Technical details:
NullReferenceException: Object reference not set to an instance of an object.
at CropGrowthAdjustments.ContentPackManager.InitializeContentPacks(IModHelper helper, IMonitor monitor) in /Users/gzhynko/RiderProjects/stardew-mods/CropGrowthAdjustments/ContentPackManager.cs:line 34
at CropGrowthAdjustments.ModEntry.Entry(IModHelper helper) in /Users/gzhynko/RiderProjects/stardew-mods/CropGrowthAdjustments/ModEntry.cs:line 33
at StardewModdingAPI.Framework.SCore.LoadMods(IModMetadata[] mods, JsonHelper jsonHelper, ContentCoordinator contentCore, ModDatabase modDatabase) in SMAPI\Framework\SCore.cs:line 1765
Thanks in advance.
"SpecialSpritesForSeasons": []
instead of fully removing that.Same
https://smapi.io/log/c2fce77e72e34f128073b960d8a30915
I hadn't any grapes planted, just the seeds in my inventory.
https://smapi.io/log/236c498bac904ac3b70e84b486e53a46