Search Issue Tracker

By Design

Votes

0

Found in

2018.3.0a10

2019.1.0a4

Issue ID

1087412

Regression

Yes

ArgumentException: ComputeBuffer.SetData() prevents project upgrade

Graphics - General

-

This is a regression introduced in 2018.3.0a10 and I managed to reproduced this int he current trunk (2019.1.0a4)

Repro steps:

- did Vegetation Studio from the asset store: https://assetstore.unity.com/packages/tools/terrain/vegetation-studio-103389
- open the Demo scene from: Assets\AwesomeTechnologies\VegetationStudioDemo
- click on the VegetationStudio obj in the hierarchy and select "Start Vegetation System"
- notice grass will render in the scene view, if you scroll close enough to the terrain
- press play and notice hte error and that no grass i rendering
Cannot repro with 2018.3.0a9 or older
- reproduced with 2018..30b4 and 2019.1.0a4
Regressed in 2018.3.0a10

On opening trying to upgrade this Asset Store package to the latest Unity Editor, this error prevents it from working (the grass will render int he Editor but not in Play Mode):

ArgumentException: ComputeBuffer.SetData() : Accessing 16384 bytes at offset 0 for Compute Buffer of size 10240 bytes is not possible.
UnityEngine.ComputeBuffer.SetData (System.Array data) (at C:/buildslave/unity/build/Runtime/Export/ComputeShader.bindings.cs:124)
AwesomeTechnologies.VegetationItemIndirectInfo.CreateComputeBuffer (System.Boolean useComputeShaders) (at Assets/AwesomeTechnologies/VegetationStudio/VegetationSystem/VegetationItemIndirectInfo.cs:127)
AwesomeTechnologies.VegetationItemIndirectInfo.UpdateComputeBuffer (System.Boolean useComputeShaders) (at Assets/AwesomeTechnologies/VegetationStudio/VegetationSystem/VegetationItemIndirectInfo.cs:196)
AwesomeTechnologies.VegetationCell.PostProcess (System.Boolean useComputeShaders) (at Assets/AwesomeTechnologies/VegetationStudio/VegetationSystem/VegetationCell.cs:245)
AwesomeTechnologies.VegetationSystem.Preprocess () (at Assets/AwesomeTechnologies/VegetationStudio/VegetationSystem/VegetationSystem_VegetationLoader.cs:89)
AwesomeTechnologies.VegetationSystem.UpdateVegetationInstanceLists () (at Assets/AwesomeTechnologies/VegetationStudio/VegetationSystem/VegetationSystem_VegetationLoader.cs:95)
AwesomeTechnologies.VegetationSystem.ExecuteRenderVegetation (System.Boolean forceRender) (at Assets/AwesomeTechnologies/VegetationStudio/VegetationSystem/VegetationSystem.cs:1835)
AwesomeTechnologies.VegetationSystem.Update () (at Assets/AwesomeTechnologies/VegetationStudio/VegetationSystem/VegetationSystem.cs:1732)

  1. Resolution Note:

    The error is correct. In user's code we can see the data size is bigger than the buffer size.

Comments (5)

  1. tarekgedawy

    Jan 07, 2023 23:58

    alfaris.company شركة الفارس للشحن ونقل العفش
    alfaris.company/2019/10/jeddah-to-jordan.html نقل عفش من جدة الى الاردن
    alfaris.company/2019/12/transport-from-jeddah-to-jordan.html شحن ونقل عفش من جدة الى الاردن
    alfaris.company/2018/11/transfer-riyadh-to-jordan.html شحن ونقل عفش من الرياض الى الاردن
    alfaris.company/2021/12/Land-Shipping-from-SaudiArabia-to-Emirates.html شركة شحن من السعودية للامارات
    alfaris.company/2019/12/Shipping-from-Jeddah-to-Emirates.html شحن ونقل عفش من جدة الى الامارات
    alfaris.company/2019/12/Shipping-from-Riyadh-to-Emirates.html شحن ونقل عفش من الرياض الى الامارات
    alfaris.company/2019/12/shipping-from-Jeddah-to-Turkey.html شحن ونقل عفش من جدة الى تركيا
    alfaris.company/2019/12/Shipping-from-Jeddah-to-lebanon.html شحن ونقل عفش من جدة الى لبنان
    alfaris.company/2019/12/Shipping-from-Jeddah-to-morocco.html شحن ونقل عفش من جدة الى المغرب
    alfaris.company/2022/04/shipping-from-jeddah-to-dubai.html شركة شحن من جدة الي دبي
    alfaris.company/2022/04/moving-furniture-from-from-riyadh-to-dubai.html شركة نقل عفش من الرياض الي دبي
    alfaris.company/2022/04/shipping-from-riyadh-to-emirates.html شركة شحن من الرياض الى الامارات
    alfaris.company/2022/04/moving-furniture-from-Saudi-Arabia-to-UAE.html شركة نقل عفش من السعودية الى الامارات
    alfaris.company/2022/04/Shipping-Furniture-from-from-Riyadh-to-Emirates.html شركة شحن عفش من الرياض الى الامارات
    alfaris.company/2022/04/Moving-Furniture-from-Riyadh-to-Jordan.html شركة نقل عفش من الرياض الى الاردن
    alfaris.company/2022/04/shipping-from-jeddah-to-jordan.html شركة شحن من جدة للاردن
    alfaris.company/2022/04/shipping-from-jeddah-to-amman.html شحن من جدة الى عمان

  2. tarekgedawy

    Jan 07, 2023 18:25

    alsaad-mover.com/2020/02/shipping-furniture-from-jeddah-to-jordan.html شركة نقل عفش من جدة الى الاردن
    alsaad-mover.com/2020/02/shipping-furniture-from-riyadh-to-jordan.html شركة نقل عفش من الرياض الى الاردن

  3. tarekgedawy

    Jan 07, 2023 18:24

    gulfalarab.com
    bareeq-clean.com
    alsaad-mover.com
    alsaif-ksa.com
    corner-ksa.com
    shipping-sa.com
    alfaris.company
    alssareh.com
    alrahwan.com
    alshimaa.com
    al-kauther.com
    natiga-thanwya.com
    el-zahrani.blogspot.com
    number1-ksa.blogspot.com
    natigaa-thanwya.blogspot.com
    24alan.blogspot.com
    engineering-ac.com

  4. DennisPraet

    Jan 15, 2022 18:53

    This is my first time using this kind of online service HTTPS://essaykeeper.com to get an assignement done. The reaction paper was written, bearing in mind all the necessary structural elements of the essay. I am happy the writer used quite complex vocabulary, so the essays sounds persuasive. Since I am always busy working they come through when I do not have time to finish, overall I'm happy!

  5. garix1234

    Apr 27, 2019 15:23

    Most people play this freecell solitaire game,such a very amazing and totally skill game https://playfreecellonline.net it is not high concept game,every users can easily to play and control this game,then if you want to get more info,so one a single click here this site.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.