Search Issue Tracker
Fixed in 2019.1.X
Votes
0
Found in
2018.3.0a1
Issue ID
1096382
Regression
No
All arguments are mandatory for (int)PhysicsScene.SphereCast, even though they shouldn't be
How to reproduce:
1. Open any (new) project
2. Import the attached script
- Observe the compilation error
- The error happens because 3 of the arguments have no default value and are therefore not optional.
- Only happens for SphereCast, other multiscene queries work as intended
- Non-multiscene/default scene queries are not affected
Code in the script:
using UnityEngine;
public class ThisShouldCompile : MonoBehaviour
{
void Start()
{
RaycastHit[] hits = new RaycastHit[1];
int number = new PhysicsScene().SphereCast(Vector3.zero, 1.0f, Vector3.forward, hits);
}
}
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
ahsanrajput2021
Jul 13, 2020 10:18
I just couldn't leave your website before telling you that I truly enjoyed the top quality info you present to your visitors? Will be back again frequently to check up on new posts.
https://houstonembroideryservice.com/custom-patches/
Custom Embroidered Patches
pyjehefy
Jul 12, 2020 17:09
hi was just seeing if you minded a comment. i like your website and the them you picked is super. I will be back.
SF Web Developers http://sfwebdevelopers.com
misbahsaher83
Jul 11, 2020 02:24
Superbly written article. if only all bloggers offered the same content as you. the internet would be a far better place..
<a href=' https://bingo-voyance.com '>voyance gratuite immédiate</a>
princesmmteam
Jul 09, 2020 02:13
Thank you for taking the time to publish this information very useful!
My website. https://princesmm.in/
Jasmine2020
Jul 03, 2020 03:15
FANTASTIC!!! Quite an interesting read. Luv the write-up. Looking forward to more here>>> https://vospharmacy.com/product/belviq-10mg/
rajputyahya51_unity
Jun 30, 2020 19:49
This is really a nice and informative. containing all information and also has a great impact on the new technology. Thanks for sharing it.
<a href=' http://footballraidersofficialauthentics.com/secure-your-automobile-anywhere-and-anytime/ '>Car key replacement San Antonio TX</a>
rajputyahya51_unity
Jun 30, 2020 16:59
Thanks for the post and great tips..even I also think that hard work is the most important aspect of getting success..
<a href=' http://longbeachkeyreplacement.mystrikingly.com/ '>Honda remote fob programming </a>
rajputyahya51_unity
Jun 29, 2020 15:19
This one is good. keep up the good work!..
<a href=' https://sites.google.com/view/bostonkeyreplacement/home '>Toyota lost keys made </a>
rajputyahya51_unity
Jun 29, 2020 11:57
Very interesting blog. Alot of blogs I see these days don't really provide anything that I'm interested in. but I'm most definately interested in this one. Just thought that I would post and let you know.
<a href=' https://sites.google.com/view/inglewoodkeyreplacement/home '>Nissan keyless entry </a>
ahsanrajput2021
Jun 28, 2020 11:51
This is a smart blog. I mean it. You have so much knowledge about this issue, and so much passion. You also know how to make people rally behind it, obviously from the responses.
http://www.yemenembassy-ethiopia.org/how-to-choose-the-right-charleston-wedding-photographer/
Charleston Wedding Photographer